/* ============================================================
   SoftwarePedia - arkusz zbiorczy (PLIK GENEROWANY).
   Zrodla: assets/fonts/fonts.css, assets/css/tokens.css, assets/css/base.css, assets/css/components.css, assets/css/sections.css, assets/css/article.css, assets/css/sections-extra.css
   Generuje: _tresc/build-css-bundle.py - nie edytowac recznie.
   ============================================================ */

/* ===== assets/fonts/fonts.css ===== */
/* ============================================================
   SoftwarePedia - kroje hostowane lokalnie.
   Space Grotesk (naglowki), IBM Plex Sans (tresc), IBM Plex Mono (etykiety).

   Pobrane z fonts.gstatic.com, licencja SIL Open Font License 1.1
   (self-hosting dozwolony; wszystkie trzy rodziny leza w katalogu ofl/
   repozytorium google/fonts).

   Wylacznie podzbiory latin i latin-ext - cyrylica, greka i wietnamski
   sa tej witrynie zbedne. Podzial na dwa podzbiory z unicode-range jest
   tu konieczny, nie kosmetyczny: wszystkie 1242 strony maja polskie znaki,
   a bez latin-ext ogonki spadaja na font systemowy.

   Zastepuje <link> do fonts.googleapis.com, ktory przy kazdym wyswietleniu
   przekazywal adres IP odwiedzajacego do Google.
   ============================================================ */


/* ---------- IBM Plex Mono ---------- */
/* latin-ext 500 normal */
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 500 normal */
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* latin-ext 600 normal */
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-ext-600-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 600 normal */
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---------- IBM Plex Sans ---------- */
/* latin-ext 400 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 400 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* latin-ext 500 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 500 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* latin-ext 600 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 600 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* latin-ext 700 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 700 normal */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/ibm-plex-sans-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---------- Space Grotesk ---------- */
/* latin-ext 400 normal */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/space-grotesk-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 400 normal */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/space-grotesk-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* latin-ext 500 normal */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/space-grotesk-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 500 normal */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/space-grotesk-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* latin-ext 700 normal */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/space-grotesk-latin-ext-var-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* latin 700 normal */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/space-grotesk-latin-var-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ===== assets/css/tokens.css ===== */
/* ============================================================
   SoftwarePedia — Design Tokens
   Single source of truth: colors, type, spacing, radii, shadows.
   ============================================================ */

:root {
  /* ---- Brand: orange ramp -------------------------------- */
  --brand-50:  #FFF4EC;
  --brand-100: #FFE5D2;
  --brand-200: #FFC9A4;
  --brand-300: #FFA968;
  --brand-400: #FF8B3D;
  --brand-500: #FF6A13;   /* primary */
  --brand-600: #ED5606;
  --brand-700: #C24304;
  --brand-800: #8F3208;
  --brand-900: #5E230B;

  --amber:     #F49E1A;   /* secondary accent (logo top) — GRAFIKA, nie tekst na jasnym (2.15:1) */
  --amber-soft:#FFB64A;

  /* ---- Pomarancz ma TRZY ROLE, nie jedna ------------------
     Zmierzone wg WCAG 2.1 (2026-09-10):
       --brand-500 #FF6A13 na bialym  = 2.87:1  -> NIE dla tekstu
       --brand-600 #ED5606 na bialym  = 3.54:1  -> NIE dla tekstu
       --brand-700 #C24304 na bialym  = 5.12:1  -> OK dla tekstu
                              na --brand-50     = 4.73:1  -> OK
       --brand-500 na --surface-dark  = 6.31:1  -> OK jako akcent na ciemnym
     Stad podzial ponizej. Nie uzywaj --accent jako koloru tekstu na jasnym tle. */
  --accent-graphic: var(--brand-500);  /* kreski, ikony, obramowania, akcent na ciemnym */
  --accent-text:    var(--brand-700);  /* pomaranczowy TEKST na jasnym tle */
  --accent-fill:    var(--brand-700);  /* tlo wypelnienia pod bialym tekstem (5.12:1) */

  /* ---- Tekst na ciemnych powierzchniach -------------------
     Kontrast liczony wzgledem --surface-dark #14161B:
       --on-dark       11.26:1   --on-dark-muted 6.27:1   --on-dark-faint 5.43:1 */
  --on-dark:       #C9CCD3;
  --on-dark-muted: #9498A2;
  --on-dark-faint: #888D97;

  /* ---- Stany i sygnalizacja ------------------------------ */
  --ok:        #3FCF8E;
  --dot-red:   #FF6A4D;
  --dot-amber: #FFC34D;

  /* ---- Ink / warm neutrals ------------------------------- */
  --ink-900: #15171C;   /* display headings */
  --ink-800: #1E2128;
  --ink-700: #2B2F38;   /* strong body */
  --ink-600: #474C58;   /* body */
  --ink-500: #6A6F7B;   /* muted  — 5.03:1 na bialym */
  --ink-400: #6E7380;   /* faint  — 4.74:1 na bialym (bylo #969BA6 = 2.79:1, nie przechodzilo AA).
                           UWAGA: na ciemnym tle uzywaj --on-dark-*, nie tego tokenu. */
  --ink-300: #C2C5CC;

  /* ---- Surfaces ------------------------------------------ */
  --bg:        #FFFFFF;
  --bg-soft:   #FAF8F4;   /* warm paper */
  --bg-soft-2: #F3F0EA;
  --bg-tint:   #FFF6EE;   /* faint orange wash */
  --surface-dark:   #14161B;
  --surface-dark-2: #1C1F27;

  /* ---- Lines --------------------------------------------- */
  --line:      #EBE7E0;   /* warm hairline */
  --line-2:    #E0DBD2;
  --line-dark: #2A2E37;

  /* ---- Semantic ------------------------------------------ */
  --text:        var(--ink-700);
  --text-strong: var(--ink-900);
  --text-muted:  var(--ink-500);

  /* ---- Aliasy uzywane przez sekcje FAQ / glosariusz / galeria -----
     Te cztery tokeny byly WYWOLYWANE przez arkusze sekcji, ale nigdy
     nigdzie nie zdefiniowane (stan sprzed 2026-09-10: 764 + 762 + 380 + 380
     odwolan rozwiazywalo sie do wartosci poczatkowej, wiec tla kart
     glosariusza i galerii po prostu nie bylo). Sa to aliasy istniejacych
     tokenow, nie nowe kolory. Kontrast na --surface-2 (#FAF8F4):
     --accent-text 4.83:1, --text-2 8.11:1, --text-3 4.74:1 - wszystkie AA. */
  --surface-2:   var(--bg-soft);   /* tlo kart glosariusza i galerii */
  --text-2:      var(--ink-600);   /* tresc odpowiedzi FAQ i definicji */
  --text-3:      var(--ink-500);   /* podpisy pod miniaturami */
  --fs-xs:       0.8125rem;        /* 13px - dol skali, podpisy */
  --accent:      var(--brand-500);
  --accent-ink:  var(--brand-700);

  /* ---- Type families ------------------------------------- */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* ---- Type scale (fluid) -------------------------------- */
  --fs-eyebrow: 0.8125rem;   /* 13px */
  --fs-sm:   0.875rem;       /* 14 */
  --fs-base: 1.0625rem;      /* 17 */
  --fs-md:   1.1875rem;      /* 19 */
  --fs-lg:   clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-xl:   clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --fs-2xl:  clamp(1.95rem, 1.5rem + 2vw, 2.85rem);
  --fs-3xl:  clamp(2.5rem, 1.8rem + 3.4vw, 4rem);
  --fs-4xl:  clamp(3rem, 2rem + 5vw, 5.25rem);

  --lh-tight: 1.06;
  --lh-snug: 1.18;
  --lh-body: 1.68;

  /* ---- Spacing (4px base) -------------------------------- */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 2.75rem; --sp-8: 3.5rem;
  --sp-9: 4.5rem;   --sp-10: 6rem;   --sp-12: 8rem;

  --container: 1240px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* ---- Radii --------------------------------------------- */
  --r-xs: 6px;  --r-sm: 10px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Shadows (soft, layered) --------------------------- */
  --sh-xs: 0 1px 2px rgba(21,23,28,.06);
  --sh-sm: 0 2px 6px rgba(21,23,28,.07), 0 1px 2px rgba(21,23,28,.05);
  --sh-md: 0 12px 28px -12px rgba(21,23,28,.16), 0 2px 6px rgba(21,23,28,.05);
  --sh-lg: 0 30px 60px -22px rgba(21,23,28,.28), 0 6px 14px -8px rgba(21,23,28,.12);
  --sh-brand: 0 16px 34px -14px rgba(255,106,19,.55);

  /* ---- Motion -------------------------------------------- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .28s;

  /* ---- Hexagon clip (brand motif) ------------------------ */
  --hex: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

/* ===== assets/css/base.css ===== */
/* ============================================================
   SoftwarePedia — Base: reset, typography, layout utilities
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "ss01";
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-text); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-weight: 700; }

p { text-wrap: pretty; }

ul, ol { padding-left: 1.15em; }

::selection { background: var(--brand-200); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.scroll-locked { overflow: hidden; }

/* ---- Layout primitives --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--surface-dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.stack > * + * { margin-top: var(--sp-4); }

/* ---- Eyebrow / kicker ---------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 1.1em; height: 1.1em;
  background: var(--brand-500);
  -webkit-clip-path: var(--hex); clip-path: var(--hex);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow { color: var(--amber-soft); }

/* ---- Section heading block ----------------------------- */
.section-head { max-width: 46rem; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .title { font-size: var(--fs-2xl); margin-top: var(--sp-3); }
.section-head .lede {
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Helpers ------------------------------------------- */
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-ink); }
.mono { font-family: var(--font-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink-900); color: #fff; padding: .6rem 1rem;
  border-radius: var(--r-sm); z-index: 200; transition: top var(--dur);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Reveal-on-scroll (progressive enhancement; visible by default) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ===== assets/css/components.css ===== */
/* ============================================================
   SoftwarePedia — Components
   Buttons · badges · cards · hex tiles · accordion · TOC ·
   gallery · breadcrumb · pagination
   ============================================================ */

/* ---------- Buttons ------------------------------------- */
.btn {
  --_bg: var(--brand-500);
  --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .005em;
  line-height: 1;
  padding: .92em 1.5em;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  background: var(--_bg); color: var(--_fg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--_fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn--primary { box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 20px 40px -14px rgba(255,106,19,.7); }

.btn--dark { --_bg: var(--ink-900); --_fg: #fff; box-shadow: var(--sh-sm); }
.btn--dark:hover { --_bg: #000; }

.btn--ghost {
  --_bg: transparent; --_fg: var(--ink-800);
  border-color: var(--line-2);
}
.btn--ghost:hover { --_fg: var(--brand-700); border-color: var(--brand-300); background: var(--brand-50); }

.btn--light { --_bg: #fff; --_fg: var(--ink-900); box-shadow: var(--sh-sm); }
.btn--light:hover { --_fg: var(--brand-700); }

.btn--lg { font-size: var(--fs-base); padding: 1.05em 1.85em; }
.btn--sm { font-size: var(--fs-eyebrow); padding: .7em 1.1em; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; font-size: var(--fs-sm); color: var(--accent-ink);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Badges / tags ------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .42em .8em; border-radius: var(--r-pill);
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.badge--solid { background: var(--accent-fill); color: #fff; border-color: transparent; }
.badge--ghost { background: transparent; color: var(--ink-500); border-color: var(--line-2); }

.tag {
  display: inline-flex; align-items: center;
  font-size: var(--fs-sm); font-weight: 500;
  padding: .4em .9em; border-radius: var(--r-pill);
  background: #fff; color: var(--ink-700);
  border: 1px solid var(--line-2);
  transition: all var(--dur) var(--ease);
}
.tag:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

/* ---------- Hex icon tile (brand motif) ----------------- */
.hex {
  --_size: 56px;
  width: var(--_size); height: var(--_size);
  display: grid; place-items: center;
  flex: none;
  background: linear-gradient(150deg, var(--brand-400), var(--brand-600));
  -webkit-clip-path: var(--hex); clip-path: var(--hex);
  color: #fff;
}
.hex svg { width: 46%; height: 46%; }
.hex--amber { background: linear-gradient(150deg, var(--amber-soft), var(--amber)); }
.hex--ink { background: linear-gradient(150deg, var(--line-dark), var(--surface-dark)); }
.hex--soft { background: var(--brand-50); color: var(--accent-text); }
.hex--lg { --_size: 76px; }

/* ---------- Cards --------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.card__title { font-size: var(--fs-lg); margin-top: var(--sp-4); }
.card__text { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }

/* product card with corner accent */
.prod-card { position: relative; overflow: hidden; }
.prod-card .kbd {
  font-family: var(--font-mono); font-size: .72rem; color: var(--ink-400);
  letter-spacing: .06em;
}
.prod-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, transparent 60%, var(--brand-50));
  opacity: 0; transition: opacity var(--dur) var(--ease); pointer-events: none;
}
.prod-card--hover:hover::after { opacity: 1; }

/* ---------- Accordion (FAQ) ----------------------------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.45rem 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-md); color: var(--ink-900); line-height: 1.3;
}
.acc-trigger:hover { color: var(--brand-700); }
.acc-icon {
  flex: none; width: 30px; height: 30px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); display: grid; place-items: center;
  position: relative; margin-top: 2px; transition: all var(--dur) var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--ink-700);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.acc-icon::before { width: 12px; height: 2px; }
.acc-icon::after { width: 2px; height: 12px; }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--brand-500); border-color: var(--brand-500); }
.acc-trigger[aria-expanded="true"] .acc-icon::before,
.acc-trigger[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-panel {
  overflow: hidden; height: 0;
  transition: height var(--dur) var(--ease);
}
.acc-panel__inner { padding: 0 0 1.55rem; max-width: 60ch; color: var(--text-muted); }
.acc-panel__inner p + p { margin-top: .8em; }

/* ---------- Breadcrumb ---------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5em;
  font-size: var(--fs-sm); color: var(--ink-500); }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs .sep { color: var(--ink-300); }
.crumbs [aria-current] { color: var(--ink-800); font-weight: 500; }

/* ---------- TOC ----------------------------------------- */
.toc { position: sticky; top: 96px; }
.toc__label {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-400);
  margin-bottom: var(--sp-4); display: block;
}
.toc__list { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc__list a {
  display: block; padding: .42rem 0 .42rem 1.1rem; margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-500); font-size: var(--fs-sm); line-height: 1.35;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.toc__list a:hover { color: var(--ink-900); }
.toc__list a.is-active { color: var(--brand-700); border-color: var(--brand-500); font-weight: 600; }
.toc__list .toc-sub a { padding-left: 2rem; font-size: .82rem; }

/* ---------- Gallery ------------------------------------- */
.gallery { display: grid; gap: var(--sp-4); }
.shot {
  position: relative; display: block; cursor: pointer;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(20,22,27,.82));
  color: #fff; font-size: var(--fs-sm); font-weight: 500;
  display: flex; align-items: center; gap: .4em;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.shot:hover .shot__cap { opacity: 1; transform: none; }
.shot__zoom {
  position: absolute; top: .7rem; right: .7rem;
  width: 34px; height: 34px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); display: grid; place-items: center;
  color: var(--ink-800); opacity: 0; transform: scale(.85);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.shot:hover .shot__zoom { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,13,16,.86); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 1100px; width: 100%; }
.lightbox img { width: 100%; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.lightbox figcaption { color: var(--on-dark); text-align: center; margin-top: 1rem; font-size: var(--fs-sm); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill);
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); color: #fff; }
.lightbox__close { top: var(--gutter); right: var(--gutter); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: var(--gutter); transform: none; } }

/* ---------- Placeholder media --------------------------- */
.ph {
  position: relative; display: grid; place-items: center;
  background:
    linear-gradient(135deg, var(--bg-soft-2), #fff),
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(255,106,19,.04) 11px 22px);
  color: var(--ink-400);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase;
}
.ph::after {
  content: attr(data-label); position: absolute; bottom: .6rem; left: .7rem;
  font-size: .66rem; color: var(--ink-400);
}
.ph .hex { opacity: .5; }

/* ===== assets/css/sections.css ===== */
/* ============================================================
   SoftwarePedia — Sections & site chrome
   Header · hero · product grid · stats · glossary · CTA · footer
   ============================================================ */

/* ===================== HEADER =========================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(21,23,28,.5); }
.site-header__bar {
  display: flex; align-items: center; gap: var(--sp-5);
  height: 78px;
}
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark { width: 34px; height: 38px; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -.02em; color: var(--ink-900); line-height: 1;
}
.brand__name b { color: var(--accent-text); font-weight: 700; }
.brand__sub {
  display: block; font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-400);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .35em;
  padding: .6rem .85rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link[aria-current="page"] { color: var(--brand-700); }
.nav__link .chev { width: .8em; height: .8em; transition: transform var(--dur) var(--ease); }

/* dropdown */
.has-menu { position: relative; }
.has-menu > .nav__link:hover .chev,
.has-menu:focus-within > .nav__link .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem;
  border-radius: var(--r-sm); color: var(--ink-700); font-size: var(--fs-sm); font-weight: 500;
}
.submenu a:hover { background: var(--bg-soft); color: var(--brand-700); }
.submenu .dot { width: 7px; height: 7px; flex:none; background: var(--brand-400);
  -webkit-clip-path: var(--hex); clip-path: var(--hex); }

.header-actions { display: flex; align-items: center; gap: .8rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-sm);
  color: var(--ink-800);
}
.header-phone:hover { color: var(--brand-700); }
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--brand-500); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2);
  background: #fff; border-radius: var(--r-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink-800); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
@media (max-width: 980px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header__bar { height: 68px; }
  .mobile-nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
    padding: var(--sp-5) var(--gutter) var(--sp-6);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    max-height: calc(100vh - 68px); overflow-y: auto; z-index: 99;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a { display: block; padding: .85rem .25rem; font-size: var(--fs-md);
    font-weight: 500; color: var(--ink-800); border-bottom: 1px solid var(--line); }
  .mobile-nav a:hover { color: var(--brand-700); }
  .mobile-nav .sub { padding-left: 1rem; font-size: var(--fs-sm); color: var(--ink-600); }
  .mobile-nav .btn { margin-top: var(--sp-5); }
}
@media (min-width: 981px) { .mobile-nav { display: none; } }

/* ===================== HERO ============================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero__title { font-size: var(--fs-3xl); line-height: var(--lh-tight); margin-top: var(--sp-4); }
.hero__title .grad {
  background: linear-gradient(100deg, var(--brand-500), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { margin-top: var(--sp-5); font-size: var(--fs-md); color: var(--ink-600); max-width: 38ch; }
.hero__cta { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__trust { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-6); }
.hero__trust .item { }
.hero__trust .num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink-900); }
.hero__trust .lbl { font-size: var(--fs-sm); color: var(--ink-500); }

/* decorative hex field */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 50% 50%, rgba(255,106,19,.10), transparent 62%);
}
.hexgrid { position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v33L28 65 0 49V16z' fill='none' stroke='%23FF6A13' stroke-opacity='0.07' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* hero visual: stacked product mock */
.hero__visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock__bar .d { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock__bar .d:nth-child(1){ background:var(--dot-red); } .mock__bar .d:nth-child(2){ background:var(--dot-amber); } .mock__bar .d:nth-child(3){ background:var(--ok); }
.mock__bar .url { margin-left: .6rem; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-400); }
.mock__body { padding: 1.1rem; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; }
.mock__side { display: grid; gap: .5rem; align-content: start; }
.mock__side i { height: 9px; border-radius: 3px; background: var(--bg-soft-2); display:block; }
.mock__side i:first-child { background: var(--brand-200); }
.mock__main { display: grid; gap: .8rem; }
.mock__row { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.mock__kpi { background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--r-sm); padding: .7rem; }
.mock__kpi b { display:block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-900); }
.mock__kpi span { font-size: .64rem; color: var(--ink-400); font-family: var(--font-mono); letter-spacing: .05em; }
.mock__chart { height: 120px; border:1px solid var(--line); border-radius: var(--r-sm); padding:.8rem; display:flex; align-items:flex-end; gap:.5rem; }
.mock__chart i { flex:1; background: linear-gradient(var(--brand-300), var(--brand-500)); border-radius: 3px 3px 0 0; display:block; }
.mock__list { display:grid; gap:.5rem; }
.mock__list i { height: 12px; border-radius:3px; background: var(--bg-soft-2); display:block; }

.hero__float {
  position: absolute; bottom: -22px; left: -26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: .85rem 1.05rem; display: flex; align-items: center; gap: .7rem;
}
.hero__float .hex { --_size: 40px; }
.hero__float b { font-family: var(--font-display); font-size: .98rem; color: var(--ink-900); display:block; line-height:1.1; }
.hero__float span { font-size: .74rem; color: var(--ink-500); }
.hero__badge {
  position: absolute; top: -18px; right: -14px; z-index: 2;
  background: var(--ink-900); color: #fff; border-radius: var(--r-pill);
  padding: .55rem 1rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  box-shadow: var(--sh-md); display: flex; align-items: center; gap: .45em;
}
.hero__badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(63,207,142,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63,207,142,0); } 100% { box-shadow: 0 0 0 0 rgba(63,207,142,0);} }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
}

/* ============ Logos / trust strip ====================== */
.logostrip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; }
.logostrip .lg {
  height: 30px; min-width: 96px; border-radius: var(--r-sm);
  background: var(--bg-soft-2); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .68rem; color: var(--ink-400); letter-spacing: .08em;
  padding: 0 1rem;
}

/* ===================== PRODUCT GRID ===================== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 900px){ .prod-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .prod-grid { grid-template-columns: 1fr;} }
.prod-card { display: flex; flex-direction: column; }
.prod-card .top { display: flex; align-items: center; justify-content: space-between; }
.prod-card h3 { font-size: var(--fs-lg); margin-top: var(--sp-4); }
.prod-card p { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; flex: 1; }
.prod-card .foot { margin-top: var(--sp-5); }

/* ===================== FEATURE SPLIT ==================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.feat-list { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-4); }
.feat-list li { display: flex; gap: .9rem; }
.feat-list .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50);
  color: var(--accent-text); display: grid; place-items: center; }
.feat-list .ic svg { width: 16px; height: 16px; }
.feat-list b { font-family: var(--font-display); font-weight: 500; color: var(--ink-900); display:block; }
.feat-list span { font-size: var(--fs-sm); color: var(--text-muted); }

/* ===================== STATS BAND ====================== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-5); }
@media (max-width:760px){ .stats { grid-template-columns: repeat(2,1fr);} }
.stat { text-align: left; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.1rem);
  color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat .n .u { color: var(--amber-soft); }
.stat .l { margin-top: .5rem; font-size: var(--fs-sm); color: var(--on-dark); }

/* ===================== GLOSSARY ======================== */
.gloss { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-4); }
@media (max-width: 760px){ .gloss { grid-template-columns: 1fr; } }
.gloss-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-5); display: flex; gap: var(--sp-4); align-items: flex-start;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gloss-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.gloss-card dt { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-md); color: var(--ink-900); }
.gloss-card .abbr { font-family: var(--font-mono); font-size: .7rem; color: var(--accent-text); letter-spacing: .06em; }
.gloss-card dd { margin: .4rem 0 0; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; }

/* ===================== CTA BAND ======================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--surface-dark-2), var(--surface-dark)); color: #fff;
  padding: clamp(2.75rem, 2rem + 3vw, 4.25rem) clamp(2.25rem, 1.2rem + 5vw, 5.5rem); }
.cta-band__hex { position: absolute; inset: 0; opacity: .6; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v33L28 65 0 49V16z' fill='none' stroke='%23FF6A13' stroke-opacity='0.16' stroke-width='1.4'/%3E%3C/svg%3E"); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); max-width: 18ch; }
.cta-band p { color: var(--on-dark); margin-top: var(--sp-4); max-width: 48ch; }
.cta-band .actions { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta-band__glow { position: absolute; right: -10%; top: -40%; width: 520px; height: 520px; z-index: 0;
  background: radial-gradient(circle, rgba(255,106,19,.4), transparent 60%); }

/* ===================== FOOTER ========================== */
.site-footer { background: var(--surface-dark); color: var(--on-dark-muted); padding-block: var(--sp-9) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7) var(--sp-5);} }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name b { color: var(--brand-400); }
/* .brand__sub wystepuje w naglowku (jasne tlo) i w stopce (ciemne).
   --ink-400 jest dostrojony do jasnego tla, wiec w stopce nadpisujemy go jawnie. */
.site-footer .brand__sub { color: var(--on-dark-muted); }
.footer-about { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--on-dark-faint); max-width: 34ch; line-height: 1.6; }
.footer-col h3 { color: #fff; font-size: var(--fs-sm); font-family: var(--font-mono); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col a { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--brand-400); }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  font-size: var(--fs-sm); color: var(--on-dark-faint); }
.footer-bottom .socials { display: flex; gap: .6rem; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: var(--r-pill); border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--on-dark-muted); }
.footer-bottom .socials a:hover { border-color: var(--brand-500); color: var(--brand-400); }

/* ===== assets/css/article.css ===== */
/* ============================================================
   SoftwarePedia — Article page styles
   Read-progress · article hero · TOC layout · prose · HowTo ·
   key-terms · callouts
   ============================================================ */

/* ---- Read progress bar -------------------------------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; }
.read-progress__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-500), var(--amber)); transition: width .1s linear; }

/* ---- Article hero ------------------------------------- */
.art-hero { padding-block: var(--sp-7) var(--sp-6); background: var(--bg-soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.art-hero .hexgrid { opacity: .6; }
.art-hero__inner { position: relative; max-width: 56rem; }
.art-hero h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); margin-top: var(--sp-4); }
.art-hero .dek { margin-top: var(--sp-5); font-size: var(--fs-md); color: var(--ink-600); max-width: 54ch; }
.art-meta { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-5); }
.art-author { display: flex; align-items: center; gap: .7rem; }
.art-author .av { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--bg-soft-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-400); font-family: var(--font-display); font-weight: 700; flex: none; }
.art-author b { font-family: var(--font-display); font-weight: 500; color: var(--ink-900); display: block; line-height: 1.1; }
.art-author span { font-size: var(--fs-sm); color: var(--ink-500); }
.art-meta__item { display: flex; align-items: center; gap: .45em; font-size: var(--fs-sm); color: var(--ink-600); }
.art-meta__item svg { width: 1.05em; height: 1.05em; color: var(--brand-500); }
.art-meta__divider { width: 1px; height: 26px; background: var(--line-2); }

/* ---- Article layout (TOC + body) ---------------------- */
.art-layout { display: grid; grid-template-columns: 256px minmax(0,1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (max-width: 940px){ .art-layout { grid-template-columns: minmax(0,1fr); } .art-aside { display: none; } }

/* TOC card */
.art-aside .toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.art-aside .share { margin-top: var(--sp-5); display: flex; gap: .5rem; }
.art-aside .share a { width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink-500); transition: all var(--dur) var(--ease); }
.art-aside .share a:hover { border-color: var(--brand-300); color: var(--accent-text); background: var(--brand-50); }

/* ---- Prose -------------------------------------------- */
.prose { max-width: 70ch; font-size: var(--fs-md); color: var(--ink-700); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2.4em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose p { line-height: var(--lh-body); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--brand-200); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand-500); }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; line-height: 1.55; }
.prose li::marker { color: var(--brand-500); }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.4em; border-left: 3px solid var(--brand-400);
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 500; color: var(--ink-800); font-style: normal; }
.prose figure img, .prose .ph { border-radius: var(--r-md); border: 1px solid var(--line); }
.prose figcaption { margin-top: .7em; font-size: var(--fs-sm); color: var(--ink-500); text-align: center; }

/* ---- Tables --------------------------------------------- */
.prose table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.8em 0;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  line-height: 1.5;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}
.prose th, .prose td { padding: .8em 1.2em; text-align: left; border-bottom: 1px solid var(--line); }
.prose thead th {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: #fff; background: var(--surface-dark); letter-spacing: .01em; white-space: nowrap;
}
.prose tbody td { color: var(--ink-700); }
.prose tbody tr:nth-child(even) { background: var(--bg-soft); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose caption { caption-side: bottom; padding-top: .8em; font-size: var(--fs-sm); color: var(--ink-500); text-align: left; }

/* key term highlight */
.term { background: var(--brand-50); color: var(--brand-700); padding: .04em .35em; border-radius: 5px;
  font-weight: 500; border: 1px solid var(--brand-100); }

/* lead paragraph */
.prose .lead { font-size: var(--fs-lg); color: var(--ink-600); line-height: 1.5; }

/* ---- Callout ------------------------------------------ */
.callout { display: flex; gap: 1rem; padding: var(--sp-5); border-radius: var(--r-md);
  background: var(--bg-tint); border: 1px solid var(--brand-100); }
.callout .hex { --_size: 40px; flex: none; }
.callout b { font-family: var(--font-display); color: var(--ink-900); display: block; margin-bottom: .25em; }
.callout p { font-size: var(--fs-sm); color: var(--ink-600); margin: 0; }

/* ---- HowTo -------------------------------------------- */
.howto { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.howto__head { padding: var(--sp-5) var(--sp-6); background: var(--surface-dark); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.howto__head h3 { color: #fff; font-size: var(--fs-lg); margin: 0; }
.howto__head .meta { font-family: var(--font-mono); font-size: .74rem; color: var(--on-dark); letter-spacing: .05em;
  display: flex; gap: 1.2rem; }
.howto__head .meta span { display: flex; align-items: center; gap: .4em; }
.howto__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.howto__step { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--line); }
.howto__step:first-child { border-top: 0; }
.howto__num { counter-increment: step; width: 48px; height: 52px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, var(--brand-400), var(--brand-600)); color: #fff;
  -webkit-clip-path: var(--hex); clip-path: var(--hex); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.howto__num::before { content: counter(step); }
.howto__step h4 { font-size: var(--fs-md); margin: .3rem 0 0; color: var(--ink-900); }
.howto__step p { margin-top: .4rem; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }

/* ---- In-article gallery strip ------------------------- */
.art-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-4); }
@media (max-width: 560px){ .art-gallery { grid-template-columns: 1fr; } }

/* ---- Related / next ----------------------------------- */
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-4); }
@media (max-width: 760px){ .related { grid-template-columns: 1fr; } }
.related-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.related-card .ph { aspect-ratio: 16/9; }   /* fallback, gdy artykuł nie ma obrazka */
.related-card .body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.related-card .body .badge { margin-bottom: .7rem; }
.related-card h3 { font-size: var(--fs-md); color: var(--ink-900); }
.related-card:hover h3 { color: var(--brand-700); }

/* Miniatura kafelka: realny obrazek artykułu docelowego zamiast pustego placeholdera.
   Kadr 16/9 przez aspect-ratio + object-fit, więc źródła o różnych proporcjach
   nie rozjeżdżają siatki. Wymiary w atrybutach width/height rezerwują miejsce (bez CLS). */
.related-card__img {
  display: block; width: 100%; aspect-ratio: 16/9;
  object-fit: cover; background: var(--bg-soft-2);
  transition: opacity var(--dur) var(--ease);
}
.related-card:hover .related-card__img { opacity: .92; }

/* Kafelki w sekcji "Warto przeczytać" prowadzą poza serwis (softwarestudio.com.pl),
   więc miniatury dla nich nie ma. Zamiast pustego kadru - zwarta karta tekstowa
   ze strzałką sygnalizującą wyjście na zewnątrz. */
.related-card--out .body { padding: var(--sp-5); }
.related-card--out h3::after {
  content: "\2197"; margin-left: .35em;
  color: var(--accent-text); font-weight: 700;
}

/* ---- FAQ i glosariusz pod artykułem -------------------- */
/* Nagłówek sekcji: wcześniej inline style="margin-top:var(--sp-2)" kleił go
   do eyebrow u góry i do pierwszego pytania na dole. */
.sec-title { margin-top: var(--sp-4); margin-bottom: var(--sp-6); }

/* Odpowiedzi FAQ szły przez całą szerokość kontenera (1240px) - przy 19px foncie
   to ~140 znaków w wierszu, czyli dwa razy powyżej wygodnej miary czytania.
   70ch to ta sama miara, której używa .prose w treści artykułu. */
.faq-list { max-width: 70ch; }
.faq-a { line-height: var(--lh-body); }

/* ===== assets/css/sections-extra.css ===== */
/* ============================================================
   SoftwarePedia — sekcje dodatkowe: FAQ, glosariusz, galeria,
   karty artykulow, strona 404.

   Powstal 2026-09-10 ze scalenia blokow <style> powielonych
   w 1041 stronach (7 wariantow, 1042 bloki, ~11 kB duplikatu).
   Zrodlo prawdy jest tutaj — nie wklejaj tych regul z powrotem
   do <style> w stronach.

   Serwis ma DWA pokolenia markupu sekcji i oba sa aktywne:
     - nowsze:  <details class="faq__item">, .glossary (652 strony)
     - starsze: .faq-list/.faq-item, .glos-list/.glos-item (382 strony)
   Reguly obu pokolen sa nizej obok siebie. Nie zamieniaj jednego
   pokolenia na drugie — patrz AUDIT-AGENT-PROMPT.md, sekcja 2.
   ============================================================ */

/* ── Wspolna oprawa sekcji (pokolenie nowsze) ───────────────── */
.faq-section,
.glossary-section,
.gallery-section {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.faq-section .section-title,
.glossary-section .section-title,
.gallery-section .section-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.faq-section .section-title::before,
.glossary-section .section-title::before,
.gallery-section .section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.25em;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
.faq-section .section-title::before     { background: var(--brand-500); }
.glossary-section .section-title::before { background: var(--amber); }
.gallery-section .section-title::before  { background: var(--ink-400); }

/* ── FAQ — pokolenie nowsze (<details class="faq__item">) ───── */
.faq {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  max-width: var(--container-narrow);
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease),
              box-shadow  var(--dur) var(--ease);
}
.faq__item:hover { border-color: var(--brand-300); }
.faq__item[open] {
  border-color: var(--brand-400);
  box-shadow: var(--sh-sm), 0 0 0 3px var(--brand-50);
}
.faq__q {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  line-height: 1.4;
}
.faq__q::marker,
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--brand-100);
  border-radius: 50%;
  /* strzalka jako data-URI — tu nie da sie uzyc var(), kolor wpisany wprost */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C24304' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-size: 100%;
  transition: transform var(--dur) var(--ease), background-color var(--dur);
}
.faq__item[open] .faq__q::after {
  transform: rotate(180deg);
  background-color: var(--brand-200);
}
.faq__a {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  border-top: 1px solid var(--line);
  margin-top: 0;
}

/* ── FAQ — pokolenie starsze (.faq-list / .faq-item) ────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.faq-item { border-left: 3px solid var(--brand-500); padding-left: var(--sp-4); }
.faq-q    { font-size: var(--fs-md); font-weight: 600; margin: 0 0 var(--sp-2); }
.faq-a    { margin: 0; color: var(--text-2); }

/* ── Glosariusz — pokolenie nowsze (.glossary) ──────────────── */
.glossary-section { background: var(--bg-soft); }
.glossary {
  display: grid;
  grid-template-columns: minmax(10rem, 22%) 1fr;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.glossary__term,
.glossary__def {
  padding: .85rem 1.2rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.glossary__term:last-of-type,
.glossary__def:last-of-type { border-bottom: none; }
.glossary__term {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--accent-text);
  background: var(--bg-tint);
  border-right: 1px solid var(--line-2);
  display: flex;
  align-items: flex-start;
}
.glossary__def {
  color: var(--text);
  background: var(--bg);
}
@media (max-width: 600px) {
  .glossary { grid-template-columns: 1fr; }
  .glossary__term {
    border-right: none;
    border-bottom: none;
    padding-bottom: .2rem;
    background: var(--bg-soft-2);
  }
  .glossary__def { padding-top: .35rem; }
}

/* ── Glosariusz — pokolenie starsze (.glos-list) ────────────── */
.glos-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-4); }
.glos-item { background: var(--surface-2); border-radius: var(--r-md); padding: var(--sp-4); }
.glos-term { font-weight: 700; font-size: var(--fs-sm); color: var(--accent-text); margin: 0 0 var(--sp-2); }
.glos-def  { margin: 0; font-size: var(--fs-sm); color: var(--text-2); }

/* ── Galeria — domyslnie wariant nowszy (miniatury 200 px) ──── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  background: var(--bg-soft);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-item:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.gallery-item a { display: block; }
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: opacity var(--dur);
}
.gallery-item:hover img { opacity: .92; }
.gallery-item figcaption {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-3);
}

/* ── Galeria — 29 stron ze starszym markupem zachowuje
      naturalna wysokosc miniatur (bez przycinania kadru).
      Modyfikator dodany do .gallery-grid na tych stronach. ──── */
.gallery-grid--natural {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.gallery-grid--natural .gallery-item {
  margin: 0;
  box-shadow: none;
  background: var(--surface-2);
  transition: none;
}
.gallery-grid--natural .gallery-item:hover {
  box-shadow: none;
  transform: none;
}
.gallery-grid--natural .gallery-item img {
  height: auto;
  object-fit: initial;
  transition: opacity .2s;
}
.gallery-grid--natural .gallery-item:hover img { opacity: 1; }
.gallery-grid--natural .gallery-item a:hover img { opacity: .85; }

/* ── Karty artykulow (indeksy kategorii) ────────────────────── */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-5);
}
.art-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.art-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--brand-300);
}
.art-card h3 { font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--text-strong); margin: 0; }
.art-card p  { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-body); margin: 0; flex: 1; }
.art-card .link-arrow {
  font-size: var(--fs-sm);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.art-card .link-arrow svg { width: 16px; height: 16px; }
.art-card__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: .08em;
  color: var(--accent-text);
  text-transform: uppercase;
}

/* Spis tresci uzywa szerszej siatki i wiekszego oddechu w karcie */
.art-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.art-grid--wide .art-card { padding: var(--sp-6); }

.cat-nav { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ── Strona 404 ─────────────────────────────────────────────── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-10) var(--gutter);
}
.error-page__num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 4rem + 5vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-500);
  margin-bottom: var(--sp-4);
}
.error-page__title { font-size: var(--fs-xl); color: var(--text-strong); margin-bottom: var(--sp-3); }
.error-page__text  { color: var(--text-muted); max-width: 36rem; margin: 0 auto var(--sp-7); }
