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

:root {
  --navy: oklch(17.95% 0.004 165);
  --steel: oklch(22.95% 0.004 165);
  --muted: oklch(78% 0.012 86.8);
  --light: oklch(85.97% 0.012 86.8);
  --pale: oklch(92.97% 0.012 86.8);
  --white: oklch(94.97% 0.012 86.8);
  --accent: oklch(97% 0.01 86.8);
  --gold: oklch(88% 0.08 78);
  --s0: oklch(13.95% 0.004 165);
  --s2: oklch(22.95% 0.004 165);
  --s3: oklch(26.95% 0.004 165);
  --edge: oklch(100% 0 0 / 0.07);
  --warm: oklch(22.5% 0.028 62);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 720px;
  --max-wide: 1100px;
}

html { scroll-behavior: smooth; }


body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--pale); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: oklch(87.97% 0.012 86.8);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.blog-hero {
  padding: 4.5rem 0 3.25rem;
  background: var(--s0);
}

.blog-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.blog-hero p.lead {
  color: var(--light);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.blog-hero p.meta {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.blog-filters button {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid oklch(100% 0 0 / 0.15);
  background: oklch(100% 0 0 / 0.05);
  color: var(--light);
  cursor: pointer;
}
.blog-filters button:hover,
.blog-filters button[aria-pressed="true"] {
  background: oklch(88% 0.012 86.8 / 0.25);
  border-color: var(--accent);
  color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  background: var(--s2);
  box-shadow: inset 0 1px 0 var(--edge);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.blog-card:hover {
  transform: translateY(-2px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
}

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.blog-card h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.blog-card p.excerpt {
  font-size: 0.92rem;
  color: var(--light);
  line-height: 1.55;
  flex: 1;
}

.blog-card .read {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
}

.article-hero .crumb {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.article-hero .crumb a {
  color: var(--light);
  text-decoration: none;
}
.article-hero .crumb a:hover { text-decoration: underline; }

.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.article-hero .dek {
  color: var(--light);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.article-hero .byline {
  font-size: 0.8rem;
  color: var(--muted);
}

.article-cover {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
}

.article-cover img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  max-height: 420px;
}

.article-cover figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.prose {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2.25rem 0 0.85rem;
  line-height: 1.25;
}

.prose h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--pale);
}

.prose p { margin-bottom: 1rem; color: var(--pale); }

.prose ul, .prose ol {
  margin: 1rem 0 1rem 1.25rem;
  color: var(--pale);
}
.prose li { margin-bottom: 0.4rem; }

.prose strong { color: var(--white); font-weight: 600; }

.prose .callout,
.faq-a .callout {
  padding: 1.1rem 1.35rem;
  margin: 1.5rem 0;
  background: var(--s2);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 var(--edge);
  font-size: 0.95rem;
}

.prose .callout p:last-child,
.faq-a .callout p:last-child { margin-bottom: 0; }

.prose .q-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--white);
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
}
.prose .short-answer {
  background: var(--s2);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 var(--edge);
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.5rem;
}
.prose .short-answer .sa-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.prose .short-answer p { margin: 0; color: var(--white); }

.prose .cta-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 2.5rem 0 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 6px;
  background: var(--warm);
  box-shadow: inset 0 1px 0 var(--edge);
}
.prose .cta-help p { margin: 0; flex: 1; min-width: 220px; color: var(--light); font-size: 0.95rem; }
.prose .cta-help a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: oklch(22% 0.04 62);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.15s;
}
.prose .cta-help a:hover { filter: brightness(1.08); transform: translateY(-1px); }

.prose .disclaimer {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.blog-card.txt .blog-card-body { padding-top: 1.4rem; }

.blog-section-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--pale);
  margin: 2.75rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid oklch(100% 0 0 / 0.1);
}
.blog-section-title:first-of-type { margin-top: 0; }

/* powierzchnie podniesione i pudełko pomocy (transza „powierzchnie", 8.10.2026) */
.surface {
  background: var(--s2);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 var(--edge);
  padding: 1.3rem 1.45rem 1.4rem;
}
.help-box { background: var(--warm); }
.help-box h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.help-box p {
  font-size: 0.9rem;
  color: var(--light);
  margin: 0 0 0.7rem;
  line-height: 1.5;
}
.help-box .btn {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.6rem 0.95rem;
  border-radius: 4px;
  background: var(--gold);
  color: oklch(22% 0.04 62);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.help-box .btn:hover { color: oklch(22% 0.04 62); filter: brightness(1.06); }

.site-footer {
  text-align: left;
  padding: 3.5rem 0 2.25rem;
  background: var(--s0);
  box-shadow: inset 0 1px 0 var(--edge);
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer .grid12 > div { grid-column: span 3; }
.site-footer h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--white);
  margin: 0 0 0.7rem;
}
.site-footer .foot-sub { color: var(--muted); margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.4rem; }
.site-footer .foot-note { font-size: 0.8rem; line-height: 1.45; margin-top: 0.6rem; }
.site-footer a { color: var(--light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .legal {
  grid-column: 1 / -1;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(100% 0 0 / 0.1);
  font-size: 0.78rem;
}
@media (max-width: 1100px) {
  .site-footer .grid12 { row-gap: 1.75rem; }
  .site-footer .grid12 > div { grid-column: span 6; }
  .site-footer .legal { margin-top: 0.75rem; }
}
@media (max-width: 600px) {
  .site-footer .grid12 > div { grid-column: 1 / -1; }
}

.blog-card.hidden { display: none; }

@media (max-width: 860px) {
  .nav-links a { font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* [tabindex="-1"] wyłączone: anchors.js nadaje je celowi kotwicy i przenosi na
   niego fokus. Taki element nie jest osiągalny Tabem, więc obrys tylko
   obwodziłby całą sekcję przy przewijaniu strzałkami. */
:where(
    a,
    button,
    [tabindex]:not([tabindex="-1"]),
    summary,
    input,
    select
  ):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:root {
  --shell: 1440px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --measure: 68ch;
}
.grid12 {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
}
.blog-wrap {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.blog-hero,
.site-footer {
  padding-inline: max(var(--pad), calc((100% - var(--shell)) / 2 + var(--pad)));
}
.blog-hero p.lead { max-width: var(--measure); }

.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  align-items: start;
}
.faq-rail { grid-column: 1 / 4; }
.faq-main { grid-column: 4 / 10; min-width: 0; }
.faq-margin {
  grid-column: 10 / 13;
  position: sticky;
  top: 88px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.faq-rail {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.faq-search {
  position: relative;
  display: block;
}
.faq-search svg {
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s;
}
.faq-search:focus-within svg { color: var(--accent); }
.faq-search input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--white);
  background: none;
  border: 0;
  border-bottom: 1px solid oklch(100% 0 0 / 0.28);
  border-radius: 0;
  padding: 0.4rem 0 0.5rem 1.6rem;
  appearance: none;
  transition: border-bottom-color 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.faq-search input::placeholder { color: var(--muted); }
.faq-search input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.faq-cats {
  list-style: none;
  border-top: 1px solid oklch(100% 0 0 / 0.14);
}
.faq-cat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid oklch(100% 0 0 / 0.1);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--light);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.faq-cat:hover { color: var(--white); }
.faq-cat[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: oklch(97% 0.01 86.8 / 0.5);
}
.faq-cat-n {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.faq-cat[aria-pressed="true"] .faq-cat-n { color: var(--accent); }

.faq-empty {
  margin: 0 0 2rem;
  padding: 0.9rem 1.15rem;
  background: var(--s2);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 var(--edge);
  font-size: 0.9375rem;
  color: var(--light);
}
.faq-reset {
  font: inherit;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-group { margin: 0 0 2.5rem; }
.faq-group:last-of-type { margin-bottom: 0; }
.faq-group > .blog-section-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-list { border-top: 1px solid oklch(100% 0 0 / 0.16); }

.faq-item {
  border-bottom: 1px solid oklch(100% 0 0 / 0.12);
  scroll-margin-top: 84px;
}

.faq-item > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--pale);
  transition: color 0.2s;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-item > summary:hover,
.faq-item[open] > summary { color: var(--white); }

.faq-chevron {
  flex: 0 0 auto;
  align-self: center;
  color: var(--accent);
  transition: rotate 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.faq-item[open] .faq-chevron { rotate: 180deg; }

.faq-a {
  max-width: 62ch;
  padding: 0.15rem 0 1.5rem 1.15rem;
  border-left: 1px solid oklch(100% 0 0 / 0.14);
}
.faq-a p {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: oklch(77% 0.012 86.8);
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--pale); font-weight: 600; }
.faq-a .callout {
  margin: 1rem 0 0;
  padding: 0.8rem 1.1rem;
  font-size: 0.9375rem;
}

.faq-outro {
  max-width: var(--max);
  margin: 3.5rem 0 0;
  padding: 2.25rem 0 0;
  border-top: 1px solid oklch(100% 0 0 / 0.12);
}
.faq-outro h2:first-of-type { margin-top: 2.25rem; }

.faq-item[hidden],
.faq-group[hidden],
.faq-empty[hidden] { display: none; }

@media (max-width: 1100px) {
  .faq-rail, .faq-main, .faq-margin { grid-column: 1 / -1; }
  .faq-margin { position: static; margin-top: 2.5rem; }
}
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-rail {
    position: static;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
  }
  .faq-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    border-top: 0;
  }
  .faq-cat {
    width: auto;
    padding: 0.3rem 0;
    border-bottom-color: transparent;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .faq-cat[aria-pressed="true"] { border-bottom-color: var(--accent); }
  .faq-cat-n { display: none; }
  .faq-item > summary { font-size: 1.125rem; gap: 1rem; }
  .faq-a { padding-left: 0.95rem; }
}

article > .article-hero {
  display: block;
  max-width: none;
  margin: 0;
  padding: 4.5rem 0 3.25rem;
  background: var(--s0);
}
.article-hero .hero-main { grid-column: 4 / 10; }
.article-hero .hero-meta {
  grid-column: 10 / 13;
  align-self: end;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.article-hero .hero-meta dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.article-hero .hero-meta dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.45;
}
.article-hero .crumb {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.article-hero .crumb a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in oklch, var(--accent) 40%, transparent);
}
.article-hero .crumb a:hover { text-decoration-color: var(--accent); }
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 0.75rem;
  height: 0.75rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.6;
  cursor: pointer;
}
.article-hero h1 {
  max-width: 22ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  line-height: 1.12;
}
.article-hero .dek {
  max-width: 58ch;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.article-hero .byline {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-cols {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 4rem 5.5rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  align-items: start;
}
.article-rail { grid-column: 1 / 4; }
.article-body { grid-column: 4 / 10; min-width: 0; }
.article-margin {
  grid-column: 10 / 13;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.article-rail {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.rail-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail-toc-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid oklch(100% 0 0 / 0.14);
  counter-reset: toc;
}
.rail-toc li { border-bottom: 1px solid oklch(100% 0 0 / 0.1); }
.rail-toc a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}
.rail-toc a:hover { color: var(--white); }
.rail-cta {
  align-self: start;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid oklch(97% 0.01 86.8 / 0.4);
  transition: border-color 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.rail-cta::after { content: " →"; }
.rail-cta:hover { border-bottom-color: var(--accent); }

.article-body > .prose,
.article-body > .article-footer {
  max-width: none;
  margin: 0;
  padding: 0;
}
.article-body > .prose > * { max-width: none; }
.article-body > .prose > .disclaimer { max-width: min(100%, 34rem); }

.prose p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.15rem;
  color: oklch(85.97% 0.012 86.8);
}
.prose h2 {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
  color: var(--white);
  scroll-margin-top: 84px;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: 2rem 0 0.6rem;
  color: var(--pale);
}
.prose ul, .prose ol {
  margin: 1.15rem 0 1.35rem 1.15rem;
  color: oklch(85.97% 0.012 86.8);
}
.prose li {
  margin-bottom: 0.55rem;
  padding-left: 0.3rem;
  line-height: 1.75;
}
.prose li::marker { color: var(--accent); }
.prose ol { counter-reset: none; }

.article-margin .related h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.article-margin .related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid oklch(100% 0 0 / 0.14);
}
.article-margin .related li { margin: 0; border-bottom: 1px solid oklch(100% 0 0 / 0.1); }
.article-margin .related li a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}
.article-margin .related li a:hover { color: var(--white); }

@media (max-width: 1100px) {
  .article-hero .hero-main,
  .article-rail,
  .article-body,
  .article-margin { grid-column: 1 / -1; }
  .article-hero .hero-meta {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
  }
  .article-rail,
  .article-margin { position: static; }
  .article-margin { margin-top: 2.5rem; }
}

@media (max-width: 900px) {
  .article-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 2.25rem 3rem;
  }
  .article-rail { display: none; }
  article > .article-hero { padding: 2.5rem 0 2rem; }
  .article-hero .hero-meta { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .article-hero h1 { max-width: none; }
  .prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
}

.blog-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  align-items: start;
}
.blog-layout .blog-rail { grid-column: 1 / 4; }
.blog-main { grid-column: 4 / 13; min-width: 0; }
.blog-layout .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-card .read { display: none; }
@media (max-width: 1100px) {
  .blog-layout .blog-rail,
  .blog-main { grid-column: 1 / -1; }
  .blog-layout .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
.blog-layout .blog-section-title { scroll-margin-top: 84px; }

.blog-rail .rail-toc a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.blog-rail .rail-toc-n {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.blog-rail .rail-toc a[aria-current="true"] { color: var(--accent); }
.blog-rail .rail-toc a[aria-current="true"] .rail-toc-n { color: var(--accent); }
.blog-rail .rail-toc li:has(a[aria-current="true"]) {
  border-bottom-color: oklch(97% 0.01 86.8 / 0.5);
}

@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .blog-layout .article-rail {
    display: flex;
    position: static;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }
  .blog-rail .rail-kicker,
  .blog-rail .rail-toc-title,
  .blog-rail .rail-cta { display: none; }
  .blog-rail .rail-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    border-top: 0;
  }
  .blog-rail .rail-toc li { border-bottom-color: transparent; }
  .blog-rail .rail-toc a {
    padding: 0.3rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .blog-rail .rail-toc-n { display: none; }
  .blog-rail .rail-toc li:has(a[aria-current="true"]) {
    border-bottom-color: var(--accent);
  }
}

/* Telefon: 11 przerw siatki po 2 rem = 352 px, więcej niż pole treści.
   Musi stać za definicjami .grid12 / .article-cols / .faq-layout / .blog-layout,
   bo ma tę samą specyficzność i wygrywa tylko kolejnością. */
@media (max-width: 600px) {
  .grid12, .article-cols, .faq-layout, .blog-layout { column-gap: 0; }
}

/* ═ S10 – telefon gęściej (uwagi WN z 11.10.2026): interlinia i odstępy
   w dół, wielkość liter bez zmian. Liczby: .claude/PLAN-REDESIGN.md, S10. ═ */
@media (max-width: 600px) {
  body { line-height: 1.6; }
  .blog-hero p.lead { line-height: 1.6; }
  .prose p { line-height: 1.6; margin-bottom: 0.9rem; }
  .prose li { line-height: 1.6; margin-bottom: 0.35rem; }
  .prose h2 { margin-top: 1.85rem; margin-bottom: 0.75rem; }
  .prose h3 { margin-top: 1.25rem; }
  article > .article-hero { padding: 2rem 0 1.5rem; }
  .faq-a { padding-bottom: 1.15rem; }
  .faq-a p { line-height: 1.6; margin-bottom: 0.65rem; }
}
/* ═ /S10 ═ */
