/* ==========================================================================
   DEVIVE — REDESIGN
   Fuzja: geometria i rytm DogInvoice  ×  paleta i ton Devive
   --------------------------------------------------------------------------
   Z DogInvoice : ścięte narożniki (clip-path), papierowe tło, pływający nav,
                  dwuwarstwowy badge, poświata pod hero, hover buttona
                  (ścięcie -> prostokąt + wypełnienie od lewej), mono na liczbach
   Z Devive     : niebieski #2563EB, granat #0B1120, koral #E63946,
                  Outfit + Lato, liczby jako bohater sekcji
   ========================================================================== */

/* ---------- 1. TOKENY ---------- */
:root {
  /* Skala typograficzna (mobile first, jak w DogInvoice) */
  --fs-h1: 40px;
  --fs-h2: 32px;
  --fs-h3: 24px;
  --fs-h4: 19px;
  --fs-xl: 18px;
  --fs-lg: 16px;
  --fs-md: 15px;
  --fs-sm: 13px;
  --fs-xs: 11px;

  /* Paleta Devive */
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-deep:   #1E40AF;
  --blue-light:  #3B82F6;
  --blue-subtle: #EFF6FF;
  --coral:       #E63946;
  --coral-dark:  #C1121F;

  /* Tła — papier DogInvoice ocieplony pod niebieski Devive */
  --paper:       #F7F7F4;
  --paper-warm:  #F1F1EC;
  --white:       #FFFFFF;
  --ink:         #0B1120;
  --ink-soft:    #16213A;

  /* Tekst */
  --tx:          #171717;
  --tx-muted:    rgba(72, 80, 96, 0.82);
  --tx-on-ink:   #F8FAFC;
  --tx-on-ink-muted: rgba(255, 255, 255, 0.62);

  --border:      rgba(23, 23, 23, 0.10);
  --border-ink:  rgba(255, 255, 255, 0.14);

  /* Ścięcie narożnika — sygnatura systemu */
  --cut-sm: 8px;
  --cut-md: 10px;
  --cut-lg: 16px;
  --cut-xl: 20px;

  --maxw: 1472px;
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 1024px) {
  :root {
    --fs-h1: 72px;
    --fs-h2: 52px;
    --fs-h3: 34px;
    --fs-h4: 24px;
    --fs-xl: 20px;
    --fs-lg: 18px;
    --fs-md: 16px;
    --fs-sm: 15px;
    --fs-xs: 13px;
  }
}

/* ---------- 2. RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-color: var(--blue) transparent;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--fs-md);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--tx);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-dark); }

::selection { background: var(--blue); color: #fff; }

/* ---------- 3. UTILITY: ŚCIĘCIA ---------- */
/* Kierunek A: ścięcie lewy-górny + prawy-dolny (domyślny) */
.cut-a  { clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c)); }
/* Kierunek B: lustro — prawy-górny + lewy-dolny */
.cut-b  { clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }

/* ---------- 4. TYPOGRAFIA ---------- */
.t-h1, .t-h2, .t-h3, .t-h4 {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-weight: 500;
  color: var(--tx);
}
.t-h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.03em; }
.t-h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -0.025em; }
.t-h3 { font-size: var(--fs-h3); line-height: 1.2;  letter-spacing: -0.02em; }
.t-h4 { font-size: var(--fs-h4); line-height: 1.3;  letter-spacing: -0.01em; }

.t-lead { font-size: var(--fs-xl); line-height: 1.55; color: var(--tx-muted); }
.t-body { font-size: var(--fs-md); line-height: 1.6;  color: var(--tx-muted); }
.t-sm   { font-size: var(--fs-sm); line-height: 1.55; color: var(--tx-muted); }

.mono {
  font-family: 'Azeret Mono', ui-monospace, monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.on-ink  { color: var(--tx-on-ink); }
.on-ink-muted { color: var(--tx-on-ink-muted); }
.accent  { color: var(--blue); }

/* ---------- 5. BADGE (dwuwarstwowy, z DogInvoice) ---------- */
.badge {
  --c: var(--cut-sm);
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 1px;
  background: rgba(37, 99, 235, 0.28);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.badge-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 28px;
  padding: 1px 20px 0;
  clip-path: inherit;
  white-space: nowrap;
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 300;
  letter-spacing: 2.1px;
  line-height: 1;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--blue);
}
.badge--blue  .badge-text { background: var(--blue);  color: #fff; }
.badge--ink   { background: rgba(255, 255, 255, 0.22); }
.badge--ink   .badge-text { background: var(--ink);   color: rgba(255,255,255,0.9); }
.badge--white { background: rgba(255, 255, 255, 0.45); }
.badge--white .badge-text { background: #fff;         color: var(--blue); }
.badge--coral { background: rgba(230, 57, 70, 0.3); }
.badge--coral .badge-text { background: var(--coral); color: #fff; }

/* ---------- 6. BUTTON (hover z DogInvoice: ścięcie -> prostokąt + sweep) ---------- */
.btn {
  --c: var(--cut-md);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
  text-align: center;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: clip-path 0.3s ease-out, color 0.3s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
.btn:hover { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0); }
.btn:hover::before { transform: scaleX(1); }
.btn > * { position: relative; z-index: 3; }

.btn--lg { height: 55px; padding: 16px 28px; font-size: var(--fs-lg); font-weight: 700; }
.btn--sm { height: 42px; padding: 10px 18px; font-size: var(--fs-md); font-weight: 700; }

.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue::before  { background: var(--blue-deep); }
.btn--white { background: #fff; color: var(--tx); }
.btn--white::before { background: #EAEAE6; }
/* Ramka rysowana tą samą metodą co badge: zewnętrzna warstwa 1px + wnętrze */
.btn--outline { background: rgba(11, 17, 32, 0.22); color: var(--tx); }
.btn--outline::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  background: var(--white);
  clip-path: polygon(9px 0%, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0% 9px);
  transition: clip-path 0.3s ease-out;
}
.btn--outline::before { inset: 1px; z-index: 2; background: #EDEDE8; }
.btn--outline:hover { background: var(--blue); }
.btn--outline:hover::after { clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0); }

.btn--ghost { background: transparent; color: var(--tx); }
.btn--ghost:hover { color: var(--blue-dark); }
.btn--ghost::before { display: none; }

.btn-arrow { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- 7. HEADER — pływający pasek ze ściętymi rogami ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 90px;
  animation: fadeIn 0.5s 0.15s ease-out forwards;
  opacity: 0;
}

.header-nav {
  --c: var(--cut-md);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--maxw);
  height: 90px;
  padding: 0 20px;
  filter: drop-shadow(0 2px 14px rgba(11, 17, 32, 0.07));
}
.header-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background-color 0.45s var(--ease), clip-path 0.45s var(--ease);
}

.header-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.header-logo-mark {
  --c: 5px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}

.header-menu { position: relative; z-index: 2; display: none; gap: 30px; }
.header-menu-link {
  position: relative;
  font-size: var(--fs-lg);
  font-weight: 400;
  color: #4A4A4A;
  transition: color 0.25s ease;
}
.header-menu-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.header-menu-link:hover { color: var(--tx); }
.header-menu-link:hover::after { transform: scaleX(1); }

.header-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.header-actions .btn--ghost { display: none; }

.header-burger {
  position: relative;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 34px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}
.header-burger .bar { height: 2px; background: var(--blue); border-radius: 2px; transition: 0.4s var(--ease); }
.header-burger .bar:nth-child(1),
.header-burger .bar:nth-child(3) { width: 70%; }
.header-burger .bar:nth-child(2) { width: 100%; }
.site-header.is-open .header-burger { transform: rotate(180deg); }
.site-header.is-open .header-burger .bar { position: absolute; top: 50%; width: 100%; }
.site-header.is-open .header-burger .bar:nth-child(1) { transform: rotate(45deg); }
.site-header.is-open .header-burger .bar:nth-child(2) { transform: scaleX(0); }
.site-header.is-open .header-burger .bar:nth-child(3) { transform: rotate(-45deg); }

/* Menu mobilne */
.header-mobile {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 114px 20px calc(32px + env(safe-area-inset-bottom));
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.site-header.is-open .header-mobile {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0s;
}
.site-header.is-open .header-nav::before { background: var(--paper); clip-path: none; }
.header-mobile-menu { display: flex; flex-direction: column; gap: 34px; }
.header-mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-header.is-open .header-mobile-menu a { opacity: 1; transform: translateY(0); }
.header-mobile-menu a:nth-child(1) { transition-delay: 0.06s; }
.header-mobile-menu a:nth-child(2) { transition-delay: 0.11s; }
.header-mobile-menu a:nth-child(3) { transition-delay: 0.16s; }
.header-mobile-menu a:nth-child(4) { transition-delay: 0.21s; }
.header-mobile-menu a:nth-child(5) { transition-delay: 0.26s; }
.header-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; }
.header-mobile-actions .btn { width: 100%; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 32px 20px 0;
  margin-top: 100px;
  overflow: hidden;
  animation: fadeIn 0.6s 0.2s ease-out forwards;
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
}
.hero-title { margin: 22px 0 20px; }
.hero-title .accent { position: relative; white-space: nowrap; }
.hero-subtitle { max-width: 30em; }
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 32px;
}
.hero-cta .btn { width: 100%; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: var(--fs-sm);
  color: var(--tx-muted);
}
.hero-note-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Poświata pod hero — z DogInvoice, w niebieskim Devive */
.hero-glow {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 0;
  margin-top: 48px;
}
.hero-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; left: 50%;
  width: 100vw;
  max-width: 1600px;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -32%);
  background: radial-gradient(ellipse 42% 28% at center, rgba(59, 130, 246, 0.75) 0%, var(--paper) 100%);
}

/* Pasek liczb pod hero */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  width: 100%;
  max-width: 1000px;
  margin-top: 56px;
  background: var(--border);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
}
.hero-stat-value { font-size: 34px; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.hero-stat-label { font-size: var(--fs-sm); color: var(--tx-muted); }

/* ---------- 9. SEKCJE — wspólne ---------- */
.section { position: relative; width: 100%; padding: 72px 20px; }
.section--paper { background: var(--paper); }
.section--warm  { background: var(--paper-warm); }
.section--ink   { background: var(--ink); color: var(--tx-on-ink); }
.section-inner  { width: 100%; max-width: 1280px; margin: 0 auto; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  text-align: center;
}
.section-head--left { align-items: flex-start; text-align: left; }
.section-head-title { max-width: 18em; }
.section-head-desc  { max-width: 34em; }
.section--ink .section-head-title { color: var(--tx-on-ink); }
.section--ink .section-head-desc  { color: var(--tx-on-ink-muted); }

/* ---------- 10. SEKCJA: PROBLEM (karty z liczbami) ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.problem-card {
  --c: var(--cut-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
/* Lustrzane ścięcie na środkowej karcie — rytm z DogInvoice */
.problem-card:nth-child(2) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.problem-card:hover { transform: translateY(-5px); }

.problem-card-value {
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.problem-card:nth-child(2) .problem-card-value { color: var(--coral); }
.problem-card-value small { font-size: 0.42em; letter-spacing: 0; margin-left: 4px; }
.problem-card-title { color: var(--tx); }
.problem-card-desc  { color: var(--tx-muted); }
.problem-card-source {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(72, 80, 96, 0.55);
}

/* ---------- 11. SEKCJA: TRZY DROGI (na granacie) ---------- */
.paths-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.path-card {
  --c: var(--cut-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--ink-soft);
  border-top: 2px solid transparent;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.path-card:nth-child(2) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.path-card:hover { background: #1C2B4A; transform: translateY(-5px); }
.path-letter {
  --c: 6px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--blue);
  color: #fff;
  font-family: 'Azeret Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.path-card-title { color: var(--tx-on-ink); }
.path-card-desc  { color: var(--tx-on-ink-muted); font-size: var(--fs-md); line-height: 1.6; }
.paths-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  text-align: center;
}
.paths-foot-note { color: var(--tx-on-ink-muted); font-size: var(--fs-sm); }

/* ---------- 12. SEKCJA: CENNIK ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.price-card {
  --c: var(--cut-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 26px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
  min-width: 0;
}
.price-top { flex-wrap: wrap; }
.price-card:hover { transform: translateY(-6px); }
.price-card--featured { background: var(--ink); }
.price-card--featured .price-name,
.price-card--featured .price-value,
.price-card--featured .price-features li { color: var(--tx-on-ink); }
.price-card--featured .price-for,
.price-card--featured .price-sub,
.price-card--featured .price-retainer { color: var(--tx-on-ink-muted); }
.price-card--featured .price-features li::before { background: var(--blue-light); }
.price-card--featured .price-divider { background: var(--border-ink); }

.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-name {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 300;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--tx);
}
.price-for { font-size: var(--fs-sm); color: var(--tx-muted); min-height: 3em; }
.price-value { font-size: 40px; line-height: 1; letter-spacing: -0.035em; color: var(--ink); }
.price-value small { font-size: 0.42em; letter-spacing: 0.02em; margin-left: 5px; font-weight: 500; }
.price-sub { font-size: var(--fs-sm); color: var(--tx-muted); }
.price-retainer { font-size: var(--fs-sm); color: var(--tx-muted); }
.price-retainer b { color: var(--blue); font-weight: 700; }
.price-card--featured .price-retainer b { color: var(--blue-light); }
.price-divider { height: 1px; background: var(--border); }
.price-features { display: flex; flex-direction: column; gap: 11px; }
.price-features li {
  position: relative;
  padding-left: 24px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--tx);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 10px; height: 2px;
  background: var(--blue);
}
.price-card .btn { width: 100%; margin-top: auto; }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--tx-on-ink); padding: 64px 20px 28px; }
.footer-inner { width: 100%; max-width: 1280px; margin: 0 auto; }

.footer-cta {
  --c: var(--cut-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 40px 26px;
  margin-bottom: 56px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.footer-cta-title { color: #fff; max-width: 14em; }
.footer-cta-desc  { color: rgba(255, 255, 255, 0.78); max-width: 30em; font-size: var(--fs-lg); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-ink);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 28em; }
.footer-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 21px; font-weight: 600; letter-spacing: -0.03em;
  color: #fff;
}
.footer-desc { color: var(--tx-on-ink-muted); font-size: var(--fs-sm); }
.footer-col-title {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 300;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--tx-on-ink-muted);
  transition: color 0.25s ease, transform 0.25s var(--ease);
}
.footer-links a:hover { color: #fff; transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- 14. ANIMACJE ---------- */
@keyframes fadeIn { to { opacity: 1; } }

.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 15. BREAKPOINTY ---------- */
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { width: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .section { padding: 88px 32px; }
  .header-nav { padding: 0 28px; }
  .hero { padding: 32px 32px 0; }
  .problem-grid, .paths-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-cta { padding: 56px 40px; }
  .site-footer { padding: 80px 32px 28px; }
  .paths-foot { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) {
  .site-header { height: 150px; padding: 32px 40px; }
  .header-nav { height: 100%; padding: 0 32px; }
  .header-menu { display: flex; }
  .header-burger { display: none; }
  .header-mobile { display: none; }
  .header-actions .btn--ghost { display: inline-flex; }

  .section { padding: 112px 40px; }
  .section-head { margin-bottom: 64px; }

  .hero { padding: 32px 64px 0; margin-top: 190px; }
  .hero-title { margin: 26px 0 24px; }
  .hero-cta { margin-top: 44px; gap: 20px; }
  .hero-glow { margin-top: 64px; }
  .hero-stats { margin-top: 72px; }
  .hero-stat { padding: 30px 20px; }
  .hero-stat-value { font-size: 46px; }

  .problem-grid, .paths-grid, .pricing-grid { gap: 24px; }
  .problem-card { padding: 34px 30px; }
  .problem-card-value { font-size: 68px; }
  .path-card { padding: 34px 30px; }
  .price-card { padding: 38px 32px; }
  .price-value { font-size: 48px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card--featured { transform: translateY(-14px); }
  .price-card--featured:hover { transform: translateY(-20px); }

  .footer-cta { padding: 72px 56px; margin-bottom: 72px; }
  .site-footer { padding: 96px 40px 32px; }
}

/* ==========================================================================
   16. LOGO (znak Devive)
   ========================================================================== */
.logo-icon { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; }
.footer-logo .logo-icon { color: #fff; }
.header-logo, .footer-logo { align-items: center; }

/* ==========================================================================
   17. KOSZT BEZCZYNNOŚCI — oś czasu
   ========================================================================== */
.timeline-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.timeline-card {
  --c: var(--cut-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.timeline-card:nth-child(2) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.timeline-card:hover { transform: translateY(-5px); }
.timeline-when {
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.timeline-card:nth-child(3) .timeline-when { color: var(--coral); }
.timeline-bar { height: 3px; background: var(--border); }
.timeline-bar span { display: block; height: 100%; background: var(--blue); }
.timeline-card:nth-child(1) .timeline-bar span { width: 33%; }
.timeline-card:nth-child(2) .timeline-bar span { width: 66%; }
.timeline-card:nth-child(3) .timeline-bar span { width: 100%; background: var(--coral); }

/* ==========================================================================
   18. KALKULATOR
   ========================================================================== */
.calc-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }

.calc-form, .calc-result {
  --c: var(--cut-xl);
  padding: 28px 24px;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.calc-form { background: var(--white); display: flex; flex-direction: column; gap: 20px; }
.calc-field { display: flex; flex-direction: column; gap: 7px; }
.calc-field label { font-size: var(--fs-sm); font-weight: 700; color: var(--tx); }
.calc-field input {
  --c: var(--cut-sm);
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: none;
  outline: 2px solid transparent;
  outline-offset: -2px;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: outline-color 0.25s ease, background 0.25s ease;
}
.calc-field input:focus { outline-color: var(--blue); background: var(--blue-subtle); }
.calc-hint { font-size: var(--fs-xs); color: var(--tx-muted); }

.calc-result {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-result-label {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 300;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.calc-total { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.calc-total-value {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.calc-total-unit { font-size: var(--fs-lg); color: var(--tx-on-ink-muted); }
.calc-note { font-size: var(--fs-sm); color: var(--tx-on-ink-muted); line-height: 1.55; }
.calc-breakdown { display: flex; flex-direction: column; gap: 1px; background: var(--border-ink); }
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  background: var(--ink);
  font-size: var(--fs-sm);
}
.calc-row span:first-child { color: var(--tx-on-ink-muted); }
.calc-row span:last-child {
  font-family: 'Azeret Mono', monospace;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.calc-row--sum span:last-child { color: var(--blue-light); }

/* ==========================================================================
   19. KWALIFIKACJA — dla kogo / dla kogo nie
   ========================================================================== */
.fit-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.fit-card {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.fit-card--no {
  background: var(--paper-warm);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.fit-list { display: flex; flex-direction: column; gap: 13px; }
.fit-list li {
  position: relative;
  padding-left: 30px;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--tx);
}
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 18px; height: 18px;
  background: var(--blue-subtle);
  clip-path: polygon(4px 0%, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0% 4px);
}
.fit-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.62em;
  width: 7px; height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.fit-card--no .fit-list li::before { background: rgba(230, 57, 70, 0.09); }
.fit-card--no .fit-list li::after {
  left: 4px; top: 0.55em;
  width: 9px; height: 9px;
  border: none;
  transform: none;
  background:
    linear-gradient(to bottom, transparent 44%, var(--coral) 44%, var(--coral) 56%, transparent 56%);
}

/* ==========================================================================
   20. AUDYT — split
   ========================================================================== */
.audit-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.audit-main, .audit-side {
  --c: var(--cut-xl);
  padding: 28px 24px;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.audit-main { background: var(--white); display: flex; flex-direction: column; gap: 20px; }
.audit-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.audit-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  background: var(--white);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--tx);
}
.audit-list li b { color: var(--blue); font-weight: 700; }
.audit-num {
  flex: 0 0 auto;
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue);
  padding-top: 0.15em;
}

.audit-side {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.audit-price { display: flex; flex-direction: column; gap: 4px; }
.audit-price-value { font-size: 46px; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.audit-price-label { font-size: var(--fs-sm); color: var(--tx-on-ink-muted); }
.audit-side-divider { height: 1px; background: var(--border-ink); }
.audit-side p { font-size: var(--fs-sm); color: var(--tx-on-ink-muted); line-height: 1.6; }
.audit-side .btn { width: 100%; }

/* ==========================================================================
   21. SZEŚĆ PYTAŃ
   ========================================================================== */
.q-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.q-card {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 26px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.q-card:nth-child(2n) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.q-card:hover { transform: translateY(-5px); }
.q-mark {
  --c: 6px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  background: var(--blue-subtle);
  color: var(--blue);
  font-family: 'Azeret Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}

/* ==========================================================================
   22. PROCES — 4 kroki
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.step-card {
  --c: var(--cut-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 26px 24px;
  background: var(--ink-soft);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.step-card:nth-child(2n) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.step-card:hover { background: #1C2B4A; transform: translateY(-5px); }
.step-num {
  font-family: 'Azeret Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-light);
}
.step-card h3 { color: var(--tx-on-ink); }
.step-card p { color: var(--tx-on-ink-muted); font-size: var(--fs-md); line-height: 1.6; }

/* ==========================================================================
   23. CO W SETUPIE — dwie kolumny
   ========================================================================== */
.setup-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.setup-card {
  --c: var(--cut-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.setup-card--month {
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.setup-card--month .setup-title { color: var(--tx-on-ink); }
.setup-card--month .setup-list li { color: var(--tx-on-ink); }
.setup-card--month .setup-list li::before { background: var(--blue-light); }
.setup-title { color: var(--tx); }
.setup-list { display: flex; flex-direction: column; gap: 13px; }
.setup-list li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--tx);
}
.setup-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 12px; height: 2px;
  background: var(--blue);
}

/* ==========================================================================
   24. INTEGRACJE
   ========================================================================== */
.int-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.int-card {
  --c: var(--cut-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.3s var(--ease);
}
.int-card:hover { transform: translateY(-4px); }
.int-card--core { background: var(--blue); }
.int-card--core .int-name { color: #fff; }
.int-card--core .int-desc { color: rgba(255, 255, 255, 0.82); }
.int-card--core .int-mark { background: rgba(255, 255, 255, 0.18); color: #fff; }
.int-mark {
  --c: 5px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--blue-subtle);
  color: var(--blue);
  font-family: 'Azeret Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background 0.3s var(--ease);
}
.int-mark svg { width: 21px; height: 21px; fill: currentColor; }
.int-card:hover .int-mark { background: var(--blue); color: #fff; }
.int-card--core:hover .int-mark { background: rgba(255, 255, 255, 0.28); }
.int-name { font-family: 'Outfit', sans-serif; font-size: var(--fs-lg); font-weight: 500; color: var(--tx); }
.int-desc { font-size: var(--fs-xs); line-height: 1.5; color: var(--tx-muted); }
.int-note {
  --c: var(--cut-lg);
  margin-top: 20px;
  padding: 24px;
  background: var(--paper-warm);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--tx-muted);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.int-note b { color: var(--tx); font-weight: 700; }

/* ==========================================================================
   25. GWARANCJE
   ========================================================================== */
.guarantee-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.guarantee-card {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 26px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.guarantee-card:hover { transform: translateY(-5px); }

/* ==========================================================================
   26. OPIEKUN — kompaktowy pasek + cztery punkty
   ========================================================================== */
.owner-bar {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  margin-bottom: 20px;
  background: var(--ink);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.owner-id { display: flex; align-items: center; gap: 16px; }
.owner-photo {
  --c: 10px;
  width: 64px; height: 64px;
  flex: 0 0 auto;
  object-fit: cover;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.owner-name { color: #fff; margin-bottom: 2px; }
.owner-role { font-size: var(--fs-sm); color: var(--blue-light); font-weight: 700; }
.owner-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.owner-tag {
  --c: 5px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.07);
  font-size: var(--fs-xs);
  color: var(--tx-on-ink-muted);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}

.owner-points { display: grid; grid-template-columns: 1fr; gap: 20px; }
.owner-point {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 26px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.owner-point:nth-child(2n) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.owner-point:hover { transform: translateY(-5px); }
.owner-point-label {
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
}

/* ==========================================================================
   27. FAQ — tekst po lewej, pytania po prawej
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }

.faq-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.faq-aside-title { max-width: 12em; }
.faq-aside-desc  { max-width: 26em; }
.faq-mail {
  --c: var(--cut-md);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  background: var(--white);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--blue);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-mail:hover { background: var(--blue); color: #fff; }
.faq-mail svg { width: 17px; height: 17px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  --c: var(--cut-md);
  background: var(--white);
  cursor: pointer;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background 0.3s var(--ease);
}
.faq-item:hover { background: #FCFCFA; }
.faq-item.is-open { background: var(--white); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--tx);
  transition: color 0.25s ease;
}
.faq-item:hover .faq-q,
.faq-item.is-open .faq-q { color: var(--blue); }
.faq-icon { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-icon::before { width: 15px; height: 2px; }
.faq-icon::after  { width: 2px; height: 15px; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--tx-muted);
}

/* ==========================================================================
   28. SPRAWDŹ SAM — 3 karty zasobów
   ========================================================================== */
.res-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.res-card {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.res-card:nth-child(2) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.res-card:hover { transform: translateY(-5px); }
.res-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
}
.res-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.res-card:hover .res-link svg { transform: translateX(4px); }

/* ==========================================================================
   29. CTA — sekcja nad stopką
   ========================================================================== */
.section-cta { padding: 0 20px 72px; background: var(--paper-warm); }
.cta-box {
  --c: var(--cut-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 26px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.cta-title { color: #fff; max-width: 14em; }
.cta-desc { color: rgba(255, 255, 255, 0.8); max-width: 34em; font-size: var(--fs-lg); line-height: 1.6; }
.cta-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
}
.cta-meta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   30. STOPKA — 4 kolumny
   ========================================================================== */
.footer-grid--4 { grid-template-columns: 1fr; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-sm); color: var(--tx-on-ink-muted); }
.footer-contact a { color: #fff; font-weight: 700; }
.footer-contact a:hover { text-decoration: underline; }

/* ==========================================================================
   31. BREAKPOINTY — nowe sekcje
   ========================================================================== */
@media (min-width: 640px) {
  .int-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .timeline-grid,
  .q-grid,
  .steps-grid,
  .res-grid { grid-template-columns: repeat(3, 1fr); }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid,
  .setup-grid,
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .calc-wrap { grid-template-columns: 1fr 1fr; }
  .audit-wrap { grid-template-columns: 1.6fr 1fr; }
  .owner-bar { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 30px; }
  .owner-points { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 0.85fr 1.35fr; gap: 44px; }
  .faq-aside { position: sticky; top: 180px; }
  .footer-grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .section-cta { padding: 0 32px 88px; }
  .cta-box { padding: 56px 40px; }
}

@media (min-width: 1024px) {
  .q-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline-card,
  .q-card,
  .step-card,
  .guarantee-card,
  .res-card,
  .fit-card { padding: 32px 30px; }
  .calc-form, .calc-result, .audit-main, .audit-side, .setup-card { padding: 36px 32px; }
  .owner-bar { padding: 28px 36px; margin-bottom: 24px; }
  .owner-photo { width: 76px; height: 76px; }
  .owner-points { grid-template-columns: repeat(4, 1fr); }
  .owner-point { padding: 30px 26px; }
  .calc-total-value, .audit-price-value { font-size: 58px; }
  .section-cta { padding: 0 40px 112px; }
  .cta-box { padding: 76px 56px; }
}

/* ==========================================================================
   32. STRONY WEWNĘTRZNE — nagłówek
   ========================================================================== */
.page-hero {
  position: relative;
  width: 100%;
  padding: 32px 20px 0;
  margin-top: 100px;
  overflow: hidden;
  animation: fadeIn 0.6s 0.15s ease-out forwards;
  opacity: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero-title { max-width: 16em; }
.page-hero-lead  { max-width: 40em; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

.page-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--tx-muted);
}
.page-crumb a { color: var(--blue); font-weight: 600; }
.page-crumb a:hover { text-decoration: underline; }

.page-hero-glow { position: relative; z-index: 1; width: 100%; height: 0; }
.page-hero-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; left: 50%;
  width: 100vw;
  max-width: 1500px;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -46%);
  background: radial-gradient(ellipse 38% 22% at center, rgba(59, 130, 246, 0.5) 0%, var(--paper) 100%);
}

/* ==========================================================================
   33. KARTY NARZĘDZI / WPISÓW — wspólny wzorzec
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card-grid--2 { grid-template-columns: 1fr; }

.tile {
  --c: var(--cut-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.tile:nth-child(2n) {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.tile:hover { transform: translateY(-5px); }
.tile-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--blue);
}
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
}
.tile-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.tile:hover .tile-link svg { transform: translateX(4px); }

/* Blok „uwaga / zastrzeżenie” */
.note-box {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding: 28px 24px;
  background: var(--paper-warm);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.section--warm .note-box { background: var(--white); }
.note-box p { font-size: var(--fs-md); line-height: 1.65; color: var(--tx-muted); }
.note-box b { color: var(--tx); }

/* ==========================================================================
   34. FORMULARZ (audyt)
   ========================================================================== */
.form-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.form-card {
  --c: var(--cut-xl);
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--tx); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  --c: var(--cut-sm);
  width: 100%;
  padding: 13px 14px;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-md);
  color: var(--ink);
  background: var(--paper);
  border: none;
  outline: 2px solid transparent;
  outline-offset: -2px;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: outline-color 0.25s ease, background 0.25s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline-color: var(--blue);
  background: var(--blue-subtle);
}
.field-hint { font-size: var(--fs-xs); color: var(--tx-muted); }
.field-consent { display: flex; gap: 12px; align-items: flex-start; }
.field-consent input { width: 19px; height: 19px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--blue); clip-path: none; padding: 0; }
.field-consent label { font-size: var(--fs-sm); font-weight: 400; line-height: 1.55; color: var(--tx-muted); }
.field-consent a { color: var(--blue); font-weight: 700; }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-foot { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.form-foot .btn { width: 100%; }
.form-note { font-size: var(--fs-sm); color: var(--tx-muted); line-height: 1.6; }
.form-status { font-size: var(--fs-sm); font-weight: 700; }

/* Boczna kolumna z krokami */
.steps-side { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.step-row { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; background: var(--paper); }
.section--warm .step-row { background: var(--paper-warm); }
.step-row-when {
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
}
.step-row p { font-size: var(--fs-sm); color: var(--tx-muted); line-height: 1.6; }

/* ==========================================================================
   35. NARZĘDZIA — wynik, wskaźniki
   ========================================================================== */
.tool-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.tool-panel {
  --c: var(--cut-xl);
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.tool-panel--ink { background: var(--ink); }
.tool-panel--ink h2, .tool-panel--ink h3 { color: var(--tx-on-ink); }
.tool-panel--ink p  { color: var(--tx-on-ink-muted); }
.tool-panel-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.dns-empty-state, .dns-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 20px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--tx-muted);
}
.dns-empty-state--error { color: var(--coral-dark); font-weight: 700; }
.dns-spinner {
  width: 30px; height: 30px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dns-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.dns-score {
  font-family: 'Azeret Mono', monospace;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.dns-result-grid { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.dns-raw {
  display: block;
  margin-top: 8px;
  padding: 11px 13px;
  background: var(--paper);
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--tx-muted);
  word-break: break-all;
}
.dns-provider-note, .dns-next-step {
  --c: var(--cut-md);
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--blue-subtle);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--tx);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--blue);
}

/* Wiersz wyniku: nazwa rekordu + status */
.check-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  background: var(--white);
}
.check-row-top { display: flex; align-items: center; gap: 10px; }
.check-ico {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  clip-path: polygon(4px 0%, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0% 4px);
}
.check-ico--ok   { background: #10B981; }
.check-ico--warn { background: #F59E0B; }
.check-ico--bad  { background: var(--coral); }
.check-row-name { font-family: 'Azeret Mono', monospace; font-size: var(--fs-sm); font-weight: 600; color: var(--tx); }
.check-row-desc { font-size: var(--fs-sm); line-height: 1.6; color: var(--tx-muted); padding-left: 32px; }

/* Pierścień oceny (test tematu) */
.ring-wrap { display: flex; align-items: center; gap: 20px; }
.ring { position: relative; width: 96px; height: 96px; flex: 0 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .ring-bg { stroke: var(--border); }
.ring .ring-fg { stroke: var(--blue); stroke-linecap: round; transition: stroke-dashoffset 0.5s var(--ease), stroke 0.3s ease; }
.ring-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Azeret Mono', monospace;
  font-size: 25px;
  font-weight: 700;
  color: var(--ink);
}

/* Podgląd skrzynki */
.preview-box {
  --c: var(--cut-md);
  padding: 16px 18px;
  background: var(--paper);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.preview-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: 10px;
  display: block;
}
.preview-brand { font-size: var(--fs-sm); font-weight: 700; color: var(--tx); }
.preview-subject { font-size: var(--fs-md); color: var(--tx); margin-top: 2px; }
.preview-pre { font-size: var(--fs-sm); color: var(--tx-muted); margin-top: 2px; }
.preview-cut { color: rgba(72, 80, 96, 0.38); }

.meter { height: 6px; background: var(--border); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--blue); transition: width 0.4s var(--ease), background 0.3s ease; }

/* Porównanie z benchmarkiem */
.cmp-bar-wrap { position: relative; height: 34px; margin: 10px 0 6px; background: var(--paper); }
.cmp-band { position: absolute; top: 0; bottom: 0; background: rgba(37, 99, 235, 0.16); }
.cmp-mark { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--coral); }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: var(--fs-xs); color: var(--tx-muted); }
.cmp-legend b { color: var(--tx); }

/* ==========================================================================
   36. BLOG
   ========================================================================== */
.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.blog-search {
  --c: var(--cut-sm);
  width: 100%;
  padding: 14px 16px;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-md);
  background: var(--white);
  border: none;
  outline: 2px solid transparent;
  outline-offset: -2px;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.blog-search:focus { outline-color: var(--blue); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.blog-filter {
  --c: 6px;
  padding: 9px 15px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--tx-muted);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: background 0.25s ease, color 0.25s ease;
}
.blog-filter:hover { color: var(--tx); }
.blog-filter.is-active { background: var(--blue); color: #fff; }
.blog-count { font-size: var(--fs-sm); color: var(--tx-muted); }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.blog-card { display: flex; }
.blog-card[hidden] { display: none; }
.blog-card-inner {
  --c: var(--cut-lg);
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
  transition: transform 0.35s var(--ease);
}
.blog-card:nth-child(2n) .blog-card-inner {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.blog-card:hover .blog-card-inner { transform: translateY(-5px); }
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: 'Azeret Mono', monospace;
  font-size: var(--fs-xs);
  color: var(--tx-muted);
}
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--tx-muted); }
.blog-tag { color: var(--blue); font-weight: 600; }
.blog-empty { padding: 48px 20px; text-align: center; color: var(--tx-muted); }
.blog-empty[hidden] { display: none; }

/* ==========================================================================
   37. ARTYKUŁ
   ========================================================================== */
.article-wrap { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.article-body { max-width: 68ch; }
.article-body > * + * { margin-top: 20px; }
.article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tx);
  margin-top: 44px;
}
.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.3;
  color: var(--tx);
  margin-top: 32px;
}
.article-body p, .article-body li { font-size: var(--fs-lg); line-height: 1.75; color: var(--tx-muted); }
.article-body strong { color: var(--tx); font-weight: 700; }
.article-body a { color: var(--blue); font-weight: 700; }
.article-body a:hover { text-decoration: underline; }
.article-body ul, .article-body ol { display: flex; flex-direction: column; gap: 11px; padding-left: 4px; }
.article-body li { position: relative; padding-left: 26px; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 12px; height: 2px;
  background: var(--blue);
}
.article-body ol { counter-reset: n; }
.article-body ol li { counter-increment: n; }
.article-body ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--blue);
}
.article-body blockquote {
  --c: var(--cut-md);
  padding: 22px 24px;
  background: var(--white);
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--tx);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.article-body code {
  padding: 2px 7px;
  background: var(--blue-subtle);
  font-family: 'Azeret Mono', monospace;
  font-size: 0.86em;
  color: var(--blue-deep);
}
.article-body pre {
  --c: var(--cut-md);
  padding: 20px;
  background: var(--ink);
  overflow-x: auto;
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.article-body pre code {
  padding: 0;
  background: none;
  color: var(--tx-on-ink);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.article-body table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.article-table-wrap { overflow-x: auto; }
.article-body th, .article-body td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.article-body th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tx);
  background: var(--white);
}
.article-body td { color: var(--tx-muted); }

.article-side { display: flex; flex-direction: column; gap: 20px; }
.toc {
  --c: var(--cut-lg);
  padding: 24px;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.toc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: 14px;
}
.toc ul { display: flex; flex-direction: column; gap: 10px; }
.toc a { font-size: var(--fs-sm); line-height: 1.45; color: var(--tx-muted); transition: color 0.2s ease; }
.toc a:hover, .toc a.is-active { color: var(--blue); font-weight: 700; }

/* ==========================================================================
   38. BENCHMARKI — tabela danych
   ========================================================================== */
.bm-table-wrap {
  --c: var(--cut-lg);
  overflow-x: auto;
  background: var(--white);
  clip-path: polygon(var(--c) 0%, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0% var(--c));
}
.bm-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.bm-table th, .bm-table td { padding: 15px 18px; text-align: left; }
.bm-table thead th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tx);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.bm-table tbody tr + tr td { border-top: 1px solid var(--border); }
.bm-table td { font-size: var(--fs-sm); color: var(--tx-muted); }
.bm-table td:first-child { color: var(--tx); font-weight: 700; }
.bm-table .num { font-family: 'Azeret Mono', monospace; font-weight: 600; color: var(--ink); white-space: nowrap; }

.bm-source {
  margin-top: 14px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--tx-muted);
}
.bm-source a { color: var(--blue); }

/* ==========================================================================
   39. STRONY PROSTE (404, dziękujemy, dokumenty)
   ========================================================================== */
.simple { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 640px; margin: 0 auto; }
.simple-code {
  font-family: 'Azeret Mono', monospace;
  font-size: 76px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

.doc-body { max-width: 74ch; }
.doc-body > * + * { margin-top: 18px; }
.doc-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--tx);
  margin-top: 40px;
}
.doc-body h3 { font-family: 'Outfit', sans-serif; font-size: var(--fs-h4); font-weight: 500; color: var(--tx); margin-top: 26px; }
.doc-body p, .doc-body li { font-size: var(--fs-md); line-height: 1.75; color: var(--tx-muted); }
.doc-body strong { color: var(--tx); }
.doc-body a { color: var(--blue); font-weight: 700; }
.doc-body ul, .doc-body ol { display: flex; flex-direction: column; gap: 9px; }
.doc-body li { position: relative; padding-left: 24px; }
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 11px; height: 2px;
  background: var(--blue);
}
.doc-body ol { counter-reset: d; }
.doc-body ol li { counter-increment: d; }
.doc-body ol li::before {
  content: counter(d) ".";
  position: absolute; left: 0; top: 0;
  font-family: 'Azeret Mono', monospace;
  font-size: 0.85em; font-weight: 700; color: var(--blue);
}

/* Aktywna pozycja w menu */
.header-menu-link.is-active { color: var(--tx); font-weight: 700; }
.header-menu-link.is-active::after { transform: scaleX(1); }

/* ==========================================================================
   40. BREAKPOINTY — strony wewnętrzne
   ========================================================================== */
@media (min-width: 640px) {
  .blog-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .blog-search { max-width: 320px; }
  .form-foot { flex-direction: row; align-items: center; }
  .form-foot .btn { width: auto; }
}

@media (min-width: 768px) {
  .page-hero { padding: 32px 32px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1.55fr 1fr; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-wrap { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr 260px; gap: 44px; }
  .article-side { position: sticky; top: 180px; }
  .note-box { padding: 32px; }
}

@media (min-width: 1024px) {
  .page-hero { padding: 32px 40px 0; margin-top: 190px; }
  .page-hero-inner { gap: 20px; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .tile, .blog-card-inner { padding: 32px 30px; }
  .form-card, .tool-panel { padding: 38px 34px; }
  .article-wrap { grid-template-columns: 1fr 300px; gap: 64px; }
  .simple-code { font-size: 104px; }
}
