/* Alchemia Potencjału — styl „studio” (listopad 2026)
   Czerń z siatką, szkło, neutralny grotesk, białe przyciski z poświatą,
   czerwień z halftone'u jako jedyny akcent (plus bursztyn w podtytułach). */

:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #ececec;
  --dim: #b3b3b3;
  --mute: #767676;
  --line: rgba(255, 255, 255, .09);
  --red: #e07a4a;   /* miedź: most między czerwienią halftone'u a złotem okładki */
  --amber: #e3b468; /* ciepłe złoto podtytułów, bliżej złoceń okładki */
  --navy-glow: rgba(40, 60, 130, .5);
  --grid: 84px;
  --font: 'Geist', 'Inter', 'Segoe UI', system-ui, sans-serif;
  /* zmienne używane przez alchemia-reader.css */
  --gold: var(--text);
  --muted: var(--dim);
  --sans: var(--font);
  --serif: var(--font);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: center top;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Winieta: siatka gaśnie przy krawędziach ekranu. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(5, 5, 5, .85) 100%);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
main > section { position: relative; scroll-margin-top: 96px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
strong { font-weight: 600; color: var(--text); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(80px, 10vw, 140px); }
.center { text-align: center; }
.muted { color: var(--mute); }
.small { font-size: .85rem; line-height: 1.55; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }

/* ---------- Typografia ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; color: #f2f2f2; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 400; line-height: 1.04; color: #d9d9d9; max-width: 18ch; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -.02em; }
.arw { display: inline-block; width: .5em; height: .5em; margin-left: .2em; vertical-align: .02em; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: square; }
.caps { color: var(--mute); font-size: .7rem; font-weight: 500; letter-spacing: .32em; line-height: 1.7; text-transform: uppercase; }
.caps strong { color: var(--text); font-weight: 600; }
.lead { margin-top: 26px; max-width: 54ch; color: var(--dim); font-size: 1.12rem; }
.lead a, .faq-list a, .aside-link a, .text-link, .guarantee a, .check a, .consent a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.lead a:hover, .faq-list a:hover, .aside-link a:hover, .text-link:hover { text-decoration-color: var(--red); }
.sec-head .caps { margin-bottom: 22px; }

/* ---------- Szkło ---------- */
.glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* ---------- Przyciski ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 .9rem/1.2 var(--font);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s;
}
/* G1 — mrożone szkło: główny przycisk mleczny, drugi przezroczysty z rozmyciem tła. */
.pill-white { background: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .9); color: #0a0a0a; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 #fff, 0 0 30px rgba(255, 255, 255, .18), 0 10px 30px -10px rgba(0, 0, 0, .8); }
.pill-white:hover { background: rgba(255, 255, 255, .92); transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 0 42px rgba(255, 255, 255, .26), 0 12px 32px -10px rgba(0, 0, 0, .8); }
/* Ikona koszyka tylko w przycisku w hero i w zakończeniu. */
:is(#hero-buy, #closing-buy) { padding-left: 9px; gap: 14px; }
:is(#hero-buy, #closing-buy)::after {
  content: "";
  order: -1; /* koszyk po lewej stronie tekstu */
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 11px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L20.5 8H6.1'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / 18px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(0, 0, 0, .06));
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, .12);
  transform: rotate(-10deg); /* lekki przechył jak na podglądzie */
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
:is(#hero-buy, #closing-buy):hover::after { transform: translateX(-2px) rotate(-16deg); }
@media (prefers-reduced-motion: reduce) { :is(#hero-buy, #closing-buy)::after { transition: none; } }
.pill-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: var(--text); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -10px rgba(0, 0, 0, .8); }
.pill-dark:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.pill:active { transform: scale(.98); }
.pill-lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.pill-block { width: 100%; }
/* Na wąskich telefonach długi napis na przycisku łamie się zamiast wychodzić poza kartę. */
@media (max-width: 420px) { .pill-block, .hero-actions .pill, .sec-foot .pill, .closing .pill { white-space: normal; text-align: center; padding-block: 10px; } }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: #0b0b0b; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.round:hover:not(:disabled) { border-color: rgba(255, 255, 255, .45); }
.round:disabled { opacity: .3; cursor: default; }

/* ---------- Nawigacja: pływająca szklana pigułka ---------- */
.header { position: sticky; top: 0; z-index: 30; padding: 16px var(--gutter) 0; pointer-events: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(14, 14, 14, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 40px -20px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.brand { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #161616; border: 1px solid rgba(255, 255, 255, .1); }
.brand img { width: 22px; height: 22px; mix-blend-mode: screen; filter: brightness(.95) contrast(1.4); }
.nav-links { display: flex; gap: 2px; padding-inline: 8px; }
.nav-links a { padding: 9px 14px; border: 1px solid transparent; border-radius: 999px; color: #9a9a9a; font-size: .875rem; font-weight: 400; text-decoration: none; transition: color .2s, border-color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
.nav-buy { min-height: 40px; padding: 0 18px; }
.menu-toggle { display: none; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: transparent; color: var(--text); font: 500 .875rem var(--font); }
@media (max-width: 860px) {
  .nav { width: 100%; }
  .nav .nav-buy { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(14, 14, 14, .94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    pointer-events: auto;
  }
  .js .nav-links:not(.is-open) { display: none; }
  .nav-links a { padding: 14px 16px; font-size: 1rem; color: var(--text); }
}

/* ---------- Zgoda cookies ---------- */
.consent { position: fixed; left: 50%; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 24px; width: min(760px, calc(100% - 24px)); padding: 18px 20px; border-radius: 22px; background: rgba(14, 14, 14, .9); transform: translateX(-50%); }
.consent h2 { max-width: none; margin-bottom: 4px; color: var(--text); font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.consent p { color: var(--dim); font-size: .85rem; line-height: 1.5; }
.consent-actions { display: flex; flex: none; gap: 8px; }
@media (max-width: 600px) {
  .consent { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions .pill { flex: 1; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 110px) 28px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.meta { display: flex; flex-wrap: wrap; margin-bottom: 28px; color: var(--dim); font-size: .95rem; }
.meta span + span::before { content: "|"; margin-inline: 12px; color: var(--mute); }
h1 { font-size: clamp(2.7rem, 4.6vw, 4.4rem); font-weight: 600; line-height: .98; letter-spacing: -.05em; }
.hero-choice { white-space: nowrap; }
.hero-rotator { display: inline-grid; vertical-align: bottom; color: var(--red); }
.hero-rotator-word { grid-area: 1 / 1; }
.hero-rotator-word:not(.hero-rotator-final) { visibility: hidden; }
.js .hero-rotator-word { visibility: visible; opacity: 0; transform: translateY(-.5em); filter: blur(6px); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), filter .35s; }
.js .hero-rotator-word.is-active { opacity: 1; transform: none; filter: none; }
.js .hero-rotator-word.is-out { opacity: 0; transform: translateY(.5em); filter: blur(6px); }
@media (prefers-reduced-motion: reduce) { .js .hero-rotator-word { transition: none; } }
.hero-lead { margin-top: 30px; max-width: 46ch; color: var(--dim); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-note { margin-top: 22px; color: #8e8e8e; font-size: .85rem; } /* o 20% jaśniej niż --mute (#767676) */

.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
/* Granatowa poświata w kolorze okładki osadza książkę w czerni. */
.hero-art::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--navy-glow), transparent); pointer-events: none; }
.hero-halftone { position: absolute; width: 128%; max-width: none; opacity: .92; pointer-events: none; }
.hero-book { position: relative; z-index: 1; width: min(56%, 300px); filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .85)) drop-shadow(0 0 1px rgba(255, 255, 255, .2)); }
.hero-art figcaption { position: absolute; right: 0; bottom: 6%; z-index: 2; text-align: right; color: var(--dim); }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 5vw, 64px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-book { animation: float-in 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-halftone { animation: dots-in 1.6s ease-out both; }
}
@keyframes float-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes dots-in { from { opacity: 0; } to { opacity: .92; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 380px; order: -1; margin-bottom: 8px; }
  .hero-book { width: min(44%, 210px); }
  .hero-halftone { width: min(112%, 520px); }
  .hero-art figcaption { bottom: 0; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero-art { min-height: 320px; }
  h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .hero-choice { white-space: normal; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions .pill { width: 100%; }
  .hero-foot .caps { font-size: .62rem; letter-spacing: .24em; }
}

/* ---------- Cytat i statystyki ---------- */
.proof { padding-block: clamp(40px, 6vw, 80px) 0; }
.proof-quote { display: grid; justify-items: center; gap: 18px; max-width: 760px; margin-inline: auto; text-align: center; }
.proof-quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.proof-quote blockquote { color: #e2e2e2; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 300; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.proof-quote figcaption { color: var(--mute); font-size: .85rem; }
.proof-quote a { color: var(--text); text-underline-offset: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 6vw, 80px); }
/* Ten sam efekt co „Pakiet”: wielka liczba za szklaną kartą. */
.stat-item { position: relative; display: flex; flex-direction: column; }
.stat-giant { position: relative; z-index: 0; margin-bottom: -.26em; color: #fff; font-size: clamp(3.61rem, 6.87vw, 6.87rem); font-weight: 700; line-height: .9; letter-spacing: -.07em; text-align: center; white-space: nowrap; pointer-events: none; user-select: none; }
.stat { position: relative; z-index: 1; flex: 1; padding: 28px; text-align: center; background: linear-gradient(180deg, rgba(20, 20, 20, .55), rgba(10, 10, 10, .78)); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
.stat p { max-width: none; }
.stat-value { margin-bottom: 18px; font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; background: linear-gradient(90deg, #fff 30%, #6d6d6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat h3 { color: var(--amber); font-size: 1.05rem; font-weight: 500; }
.stat p:not(.stat-value) { margin-top: 6px; color: var(--dim); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
/* Telefon (wariant B): liczba/słowo głębiej pod szkłem, rozmycie 9 px — ta sama proporcja co na laptopie
   (litery ~290 px : 28 px), dzięki czemu spod karty prześwituje poświata zamiast czarnego okna. */
@media (max-width: 760px) {
  .stat-giant { font-size: min(5.6rem, 26vw); margin-bottom: -.45em; }
  .stat { -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
}

/* ---------- Dwie kolumny ---------- */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.two > .sec-head { position: sticky; top: 120px; }
.two-center { align-items: center; }
.two-center > .sec-head { position: static; }
@media (max-width: 860px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .two > .sec-head { position: static; }
}

/* Trzy alchemiczne znaki w tle, w stylu grubego szarego łuku: ☉ z prawej, 🜂 z lewej, ♂ (bez strzałki) z prawej. */
#dla-kogo::after, #opinie::after, #faq::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  aspect-ratio: 1;
  background: center / contain no-repeat;
  pointer-events: none;
}
/* ☉ Sol: pierścień z kropką */
#dla-kogo::after { right: -190px; bottom: -150px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Ccircle cx='260' cy='260' r='215' fill='none' stroke='%23141414' stroke-width='90'/%3E%3Ccircle cx='260' cy='260' r='58' fill='%23141414'/%3E%3C/svg%3E"); }
/* 🜂 Ogień: trójkąt */
#opinie::after { left: -200px; top: 50%; transform: translateY(-50%) rotate(-8deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Cpolygon points='260,50 475,432 45,432' fill='none' stroke='%23141414' stroke-width='80' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* ♂ bez strzałki: koło z prostą linią */
#faq::after { right: -170px; bottom: -150px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Ccircle cx='215' cy='305' r='150' fill='none' stroke='%23141414' stroke-width='80'/%3E%3Cpath d='M321 199L470 50' stroke='%23141414' stroke-width='80' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
  #dla-kogo::after, #opinie::after, #faq::after { width: 320px; }
  #dla-kogo::after { right: -150px; bottom: -90px; }
  #opinie::after { left: -170px; }
  #faq::after { right: -130px; bottom: -90px; }
}
main { overflow-x: clip; }
/* iPhone z iOS < 16 nie zna „clip” — bez tego strona przesuwa się na boki (ozdobne znaki wystają za ekran). */
@supports not (overflow: clip) { main { overflow-x: hidden; } }

/* ---------- Rozpoznajesz to? ---------- */
.scenes li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding-block: 30px; border-top: 1px solid var(--line); }
.scenes li:first-child { padding-top: 0; border-top: 0; }
.scenes .num { color: var(--red); font-size: .8rem; font-weight: 600; letter-spacing: .12em; padding-top: 6px; }
.scenes h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.scenes p { margin-top: 12px; color: var(--dim); }
.aside-link { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .95rem; }

/* ---------- Co dostajesz ---------- */
/* „10 rzeczy…” — układ jak „Rozpoznajesz to?”: nagłówek po lewej, lista po prawej, wszystko do lewej. */
.learn-sec { padding-top: 0; } /* osobna sekcja tuż pod „Przestajesz walczyć ze sobą” */
.learn-intro { color: var(--dim); }
.learn-list { counter-reset: learn; }
.learn-list li { position: relative; padding: 20px 0 20px 50px; border-top: 1px solid var(--line); color: #f0f0f0; font-size: clamp(1.08rem, 1.5vw, 1.2rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; counter-increment: learn; }
.learn-list li:first-child { padding-top: 0; border-top: 0; }
.learn-list li:first-child::before { top: -4px; }
.learn-list li::before { content: counter(learn); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: transparent; color: var(--red); font-size: .8rem; font-weight: 600; } /* jak „+” w FAQ: cienka otoczka, cyfra w kolorze akcentu */
.learn-more { padding: 20px 0 0 50px; border-top: 1px solid var(--line); color: var(--dim); font-size: 1.12rem; } /* jak „Dowiesz się, jak…” */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(32px, 6vw, 88px); margin-top: clamp(56px, 7vw, 88px); }
.benefits h3 { color: var(--amber); font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 400; }
.benefits p { margin-top: 14px; color: var(--dim); }
.inline-quote { margin-top: 22px; padding: 24px; border-radius: 20px; }
.inline-quote blockquote { color: #e6e6e6; font-size: 1.05rem; line-height: 1.55; }
.inline-quote figcaption { margin-top: 14px; color: var(--mute); font-size: .85rem; }
@media (max-width: 760px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Co jest w środku ---------- */
.chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(56px, 7vw, 88px); }
.chapter { padding: clamp(26px, 3vw, 40px); min-height: 260px; display: flex; flex-direction: column; }
.chapter .caps { color: var(--red); }
.chapter h3 { margin-top: auto; padding-top: 40px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 500; line-height: 1.08; }
.chapter p:not(.caps) { margin-top: 14px; color: var(--dim); font-size: 1rem; }
.protocols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: clamp(56px, 7vw, 88px); }
.protocols article { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.protocols .when { color: var(--amber); font-size: .9rem; }
.protocols h3 { margin-top: 8px; font-size: 1.6rem; }
.protocols p:not(.when) { margin-top: 10px; color: var(--dim); font-size: .98rem; }
.sec-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.sec-foot p { max-width: 62ch; color: var(--dim); }
@media (max-width: 760px) {
  .chapters, .protocols { grid-template-columns: minmax(0, 1fr); }
  .chapter { min-height: 0; }
  .sec-foot .pill { width: 100%; }
}

/* ---------- Fragment ---------- */
#podglad .sec-head .pill { margin-top: 32px; }
#podglad .sec-head .small { margin-top: 14px; }
.preview-stage { --page-ratio: .6827; margin: 0; padding: clamp(18px, 3vw, 32px); border-radius: 28px; }
.preview-image-link { display: block; width: min(100%, 400px); margin-inline: auto; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.preview-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.preview-counter { min-width: 110px; color: var(--dim); font-size: .88rem; text-align: center; font-variant-numeric: tabular-nums; }
.preview-stage figcaption { margin-top: 14px; text-align: center; font-size: .62rem; }
#preview-error { margin-top: 8px; text-align: center; }

/* ---------- Opinie ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 6vw, 72px); }
.quote { display: flex; flex-direction: column; padding: 28px; }
.quote blockquote { color: #e0e0e0; font-size: 1.05rem; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 26px; font-size: .9rem; font-weight: 500; }
.quote figcaption img, .avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.avatar { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); background: #141414; color: var(--dim); font-size: .9rem; }
.quote small { display: block; color: var(--mute); font-size: .8rem; font-weight: 400; }
.stars { margin-bottom: 14px; color: var(--amber); letter-spacing: .14em; font-size: .9rem; }
.more { margin-top: 14px; }
.more summary { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: var(--text); font-size: .92rem; font-weight: 500; list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more summary span { color: var(--red); font-size: 1.2rem; transition: transform .25s; }
.more[open] summary span { transform: rotate(45deg); }
.more .quotes { margin-top: 14px; }
#opinie .text-link { display: inline-block; margin-top: 32px; font-size: .92rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Oferta: wielkie słowo za szklaną kartą ---------- */
.offer .sec-head h2 { margin-inline: auto; }
.giant {
  position: relative;
  z-index: 0;
  margin: clamp(20px, 3vw, 40px) 0 -.42em;
  color: #fff;
  font-size: clamp(6rem, 21vw, 18rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.075em;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.offer-card { z-index: 1; max-width: 820px; margin-inline: auto; padding: clamp(26px, 4vw, 48px); border-radius: 32px; background: linear-gradient(180deg, rgba(20, 20, 20, .55), rgba(10, 10, 10, .78)); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
.offer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.offer-top .caps { color: var(--red); }
.offer-top h3 { margin-top: 10px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.offer-top .muted { margin-top: 10px; color: var(--dim); max-width: 46ch; }
.price { font-size: 1.6rem; font-weight: 500; text-align: right; line-height: 1; }
.price span { font-size: clamp(4rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -.06em; background: linear-gradient(90deg, #fff 35%, #707070); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price small { display: block; margin-top: 10px; color: var(--mute); font-size: .78rem; font-weight: 400; }
.features { display: grid; gap: 4px; margin: 26px 0 30px; }
.features li { position: relative; padding: 10px 0 10px 40px; color: var(--dim); font-size: .98rem; line-height: 1.55; }
.features li::before { content: "✓"; position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: #121212; color: #fff; font-size: .72rem; }
.offer-card > .small { margin-top: 14px; }
.offer-diff { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.offer-diff p { margin-top: 6px; color: var(--dim); font-size: .95rem; }
.guarantee { display: flex; align-items: flex-start; gap: 20px; max-width: 820px; margin: 14px auto 0; padding: 22px 26px; border-radius: 22px; }
.guarantee-num { color: var(--red); font-size: 3rem; font-weight: 600; line-height: .9; letter-spacing: -.05em; }
.guarantee p { min-width: 0; color: var(--dim); font-size: .92rem; }
.guarantee a[href^="mailto:"] { overflow-wrap: anywhere; } /* długi adres e-mail nie wystaje poza kartę */
@media (max-width: 640px) {
  .offer-top { grid-template-columns: minmax(0, 1fr); }
  .price { text-align: left; }
}
/* Telefon (wariant B): „Pakiet” głębiej pod szkłem, rozmycie 9 px. */
@media (max-width: 760px) {
  .giant { margin-bottom: -.45em; }
  .offer-card { -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
}

/* ---------- Autor: halftone ---------- */
.author-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.author-art { position: relative; z-index: 0; width: 81%; max-width: 437px; margin: 0; } /* 2× -10% (pierwotnie 100% / 540px) */
/* Za zdjęciem: miedziane kropki halftone, gasnące ku brzegom. */
.author-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, var(--red) 1.7px, transparent 2.3px) 0 0 / 12px 12px;
  /* Plama kropek za głową i ramionami, gasnąca ku brzegom; dolne ~18% bez kropek.
     Jedna maska bez mask-composite/mask-size — Safari na iPhonie liczył podwójną maskę inaczej
     i kropki wychodziły pod zdjęciem. Sylwetkę i tak zasłania samo zdjęcie (leży nad kropkami). */
  -webkit-mask-image: radial-gradient(50% 34.4% at 50% 34.4%, #000 25%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  mask-image: radial-gradient(50% 34.4% at 50% 34.4%, #000 25%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  opacity: .7;
  pointer-events: none;
}
/* Oryginalne zdjęcie bez tła, rozpływające się ku dołowi w czerń strony. */
.author-art img { position: relative; width: 100%;
  /* dół i prawa krawędź (ucięte ramię) łagodnie gasną w czerń */
  -webkit-mask-image: linear-gradient(#000 68%, transparent 98%), linear-gradient(90deg, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(#000 68%, transparent 98%), linear-gradient(90deg, #000 80%, transparent 100%);
  mask-composite: intersect; }
.author-art figcaption { position: absolute; right: 0; bottom: 10%; text-align: right; color: var(--dim); }
.spaced { letter-spacing: .42em; line-height: 2.2; }
.author-copy > p:not(.caps) { margin-top: 20px; color: var(--dim); }
.author-copy h2 { margin-bottom: 8px; }
.author-copy .pill { margin-top: 32px; }
@media (max-width: 860px) {
  .author-grid { grid-template-columns: minmax(0, 1fr); }
  .author-art { margin-inline: auto; } /* na telefonie zdjęcie na środku, jak w kolumnie na laptopie */
  .author-art img { max-width: 340px; }
}

/* ---------- Pytania ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 20px; }
.faq-list summary { position: relative; padding: 22px 60px 22px 24px; color: var(--text); font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: var(--red); font-size: 1.1rem; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 24px; color: var(--dim); font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after, .more summary span { transition: none; } }

/* ---------- Iskra ---------- */
.spark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding: clamp(28px, 5vw, 64px); border-radius: 32px; overflow: hidden; }
.spark::before { content: ""; position: absolute; left: -12%; bottom: -30%; z-index: -1; width: 70%; aspect-ratio: 1; background: url("assets/butterfly-halftone.png") center / contain no-repeat; opacity: .14; transform: rotate(12deg); pointer-events: none; }
.spark h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.spark-copy .caps { margin-bottom: 20px; color: var(--red); }
.spark-copy > p:not(.caps):not(.small) { margin-top: 22px; color: var(--dim); }
.spark-copy .small { margin-top: 16px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input { width: 100%; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(0, 0, 0, .5); color: var(--text); font: 400 1rem var(--font); }
.field input::placeholder { color: #5c5c5c; }
.field input:focus { outline: none; border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 4px 0 22px; color: var(--dim); font-size: .84rem; line-height: 1.55; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #fff; }
#newsletter-form .small { margin-top: 14px; }
.form-status { padding: 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; }
.form-status.success { border-color: rgba(255, 255, 255, .5); }
.form-status.error { border-color: var(--red); }
@media (max-width: 860px) { .spark { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zakończenie i stopka ---------- */
.closing h2 { max-width: 20ch; margin-inline: auto; color: #f2f2f2; font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.closing .lead { margin-inline: auto; }
.closing .pill { margin-top: 38px; }
.closing .small { margin-top: 16px; }
@media (max-width: 560px) { .closing .pill { width: 100%; } }

.footer { padding-block: 40px; border-top: 1px solid var(--line); background: rgba(5, 5, 5, .7); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: none; color: var(--mute); font: 400 .85rem var(--font); text-decoration: none; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: var(--text); }


/* ---------- Czytnik ---------- */
.reader-enabled #book-dialog { border-color: rgba(255, 255, 255, .12); border-radius: 24px; background: #0a0a0a; color: var(--text); }
.reader-enabled #book-dialog .reader-top h2 { max-width: none; color: var(--text); font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.reader-viewport { background: #111; }
.reader-control { border-radius: 999px; }
.reader-control:hover:not(:disabled) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); }
.reader-offer { display: flex; justify-content: center; align-items: center; min-height: 48px; color: var(--text); font-weight: 500; text-underline-offset: 5px; }

@media print {
  .header, .buybar, .consent, .hero-halftone { display: none !important; }
  body { background: #fff; color: #111; }
}
