/* ==========================================================================
   Akademia Wosku — landing 2026 (makieta)
   Zero frameworków: czysty CSS z tokenami → łatwy port do Jinja (zently/artisan)
   ========================================================================== */

:root {
  /* Kolory marki (z okładki e-booka: butelkowa zieleń + złoto + kremowy papier) */
  --ink: #18241c;
  --ink-2: #3c4a40;
  --muted: #5d6a60;
  --green: #22382a;
  --green-2: #2f4b38;
  --green-soft: #e8eee6;
  --gold: #b78a3e;
  --gold-text: #7f5d22;      /* złoto na jasnym tle — kontrast AA */
  --gold-light: #e3c48a;     /* złoto na ciemnym tle */
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --line: #e6ddcb;
  --line-2: #d6cab2;
  --cta: #e3a03c;
  --cta-hover: #f0b252;
  --cta-ink: #1b1306;
  --danger: #9b3b2a;
  --ok: #2e6b45;

  /* Typografia */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);

  /* Rytm */
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --max: 1180px;
  --shadow-sm: 0 1px 2px rgb(24 36 28 / .06), 0 2px 8px rgb(24 36 28 / .05);
  --shadow: 0 2px 6px rgb(24 36 28 / .06), 0 18px 40px -12px rgb(24 36 28 / .18);
  --shadow-lg: 0 30px 80px -20px rgb(24 36 28 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  color-scheme: light;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-light); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green); color: #f4efe4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text);
}
.section--dark .eyebrow { color: var(--gold-light); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.h2, .hero h1, .fact strong, .result strong, .price__now, .sticker strong, .module__num, .buybar__price strong { font-variant-numeric: lining-nums tabular-nums; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); letter-spacing: -.01em; }
.h2 em { font-style: italic; color: var(--gold-text); }
.section--dark .h2 em { color: var(--gold-light); }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: #d7dccf; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Przyciski ---------- */
.btn {
  --_bg: var(--cta); --_fg: var(--cta-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: .9rem 1.6rem;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--_bg); color: var(--_fg);
  font-weight: 800; font-size: 1.0625rem; letter-spacing: .005em; text-decoration: none;
  box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 10px 24px -10px rgb(227 160 60 / .9);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 16px 30px -12px rgb(227 160 60 / 1); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { min-height: 64px; font-size: 1.125rem; padding-inline: 2rem; }
.btn--block { width: 100%; }
.btn--ghost {
  --_bg: transparent; --_fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { --_bg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

.price-chip { display: inline-flex; align-items: baseline; gap: .35rem; font-variant-numeric: tabular-nums; }
.price-chip s { opacity: .55; font-weight: 600; font-size: .85em; }

/* ---------- Pasek promocji ---------- */
.promo-bar {
  background: var(--ink); color: #f3ead7;
  font-size: .9375rem; text-align: center;
  padding: .55rem var(--gutter);
}
.promo-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem 1rem; }
.promo-bar strong { color: var(--gold-light); }
.promo-bar code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700;
  background: rgb(227 196 138 / .16); color: var(--gold-light);
  padding: .1rem .5rem; border-radius: 6px; border: 1px dashed rgb(227 196 138 / .5);
}
@media (max-width: 559px) { .promo-bar { font-size: .875rem; } .promo-bar__more { display: none; } }
.countdown { font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .9; }
.promo-bar[hidden] { display: none; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 253 248 / .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(24 36 28 / .35); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__img { display: block; height: 40px; width: auto; max-width: 100%; }
@media (max-width: 420px) { .logo__img { height: 34px; } }
@media (max-width: 350px) { .logo__img { height: 30px; } }
.logo span b { color: var(--gold-text); font-weight: 700; }
.nav { display: none; gap: 1.75rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding-block: .5rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-header .btn { display: none; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .site-header .btn { display: inline-flex; }
}
@media (min-width: 560px) and (max-width: 959px) {
  .site-header .btn { display: inline-flex; }
}

/* ---------- HERO ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgb(227 196 138 / .35), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero__copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1); letter-spacing: -.015em; line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--gold-text); }
.hero__sub { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.35rem); color: var(--ink-2); max-width: 36ch; }
.checklist { list-style: none; display: grid; gap: .7rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: start; font-weight: 500; }
.checklist svg { width: 26px; height: 26px; color: var(--ok); margin-top: .1rem; }
.section--dark .checklist svg { color: var(--gold-light); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .25rem; }
.hero__cta .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-row svg { width: 18px; height: 18px; color: var(--green-2); }

/* Okładka 3D */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
@media (max-width: 559px) { .hero__visual { min-height: 340px; } .sticker { width: 96px; height: 96px; } .sticker strong { font-size: 1.6rem; } .float-card { max-width: 210px; padding: .65rem .8rem; } }
.hero__photo {
  position: absolute; inset: 6% 0 0 14%;
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 30%, rgb(24 36 28 / .45)); }
.book {
  position: relative; width: min(64%, 330px); aspect-ratio: 900 / 1274;
  transform: perspective(1400px) rotateY(-16deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  margin-right: 22%;
}
.hero__visual:hover .book { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); }
.book img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.book::before { /* grzbiet */
  content: ""; position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 7%;
  background: linear-gradient(90deg, rgb(0 0 0 / .45), rgb(255 255 255 / .12) 55%, rgb(0 0 0 / .15));
  border-radius: 3px 0 0 3px;
}
.book::after { /* połysk */
  content: ""; position: absolute; z-index: 2; inset: 0; border-radius: 3px 8px 8px 3px;
  background: linear-gradient(115deg, rgb(255 255 255 / .18), transparent 40%);
}
.sticker {
  position: absolute; z-index: 3; right: 6%; top: 10%;
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow);
  font-weight: 800; line-height: 1.05; transform: rotate(8deg);
}
.sticker small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sticker strong { font-size: 2rem; font-family: var(--font-display); font-weight: 700; }
.sticker s { font-size: .8rem; opacity: .7; }
.float-card {
  position: absolute; z-index: 3; left: 0; bottom: 6%;
  background: #fff; border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow);
  display: flex; gap: .75rem; align-items: center; font-size: .9rem; max-width: 250px;
}
.float-card__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-2); flex: none; }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card b { display: block; font-size: .95rem; }
.float-card span { color: var(--muted); }

/* ---------- Pasek faktów ---------- */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .facts__grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 1.5rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.fact:nth-child(2n) { border-right: 0; }
@media (min-width: 760px) { .fact:nth-child(2n) { border-right: 1px solid var(--line); } .fact:last-child { border-right: 0; } }
@media (max-width: 759px) { .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.fact strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); font-weight: 700; line-height: 1; color: var(--green); }
.fact span { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- Diagnostyka problemów ---------- */
.diag { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .diag { grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; } }
.diag__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 48px; padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line-2); font-weight: 650; font-size: 1rem;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.chip__emoji { font-size: 1.15rem; line-height: 1; }
.diag__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  box-shadow: var(--shadow-sm); display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 20px);
}
.diag__panel h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem); font-weight: 600; }
.diag__label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.diag__why { color: var(--ink-2); }
.diag__fix { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-soft); }
.diag__fix svg { width: 26px; height: 26px; flex: none; color: var(--green-2); margin-top: .1rem; }
.diag__fix b { display: block; }
.diag__panel .btn { justify-self: start; }
.diag__panel[data-anim] { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Podgląd stron ---------- */
.pages { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; }
@media (min-width: 900px) { .pages { overflow: visible; margin-inline: 0; padding-inline: 0; } }
.page-card { scroll-snap-align: center; display: grid; gap: .9rem; }
.page-card button {
  all: unset; cursor: zoom-in; display: block; position: relative; border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s;
}
.page-card button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.page-card button:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.page-card img { width: 100%; aspect-ratio: 1100 / 1557; object-fit: cover; }
.page-card__zoom {
  position: absolute; right: .75rem; bottom: .75rem; display: inline-flex; gap: .4rem; align-items: center;
  background: rgb(24 36 28 / .85); color: #fff; font-size: .8rem; font-weight: 700; padding: .4rem .7rem; border-radius: 999px;
}
.page-card__zoom svg { width: 16px; height: 16px; }
.page-card figcaption { font-size: .95rem; color: var(--ink-2); }
.page-card figcaption b { display: block; color: var(--ink); font-size: 1.02rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 760px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgb(14 20 16 / .82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 88vh; width: auto; margin-inline: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: -14px; right: -14px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__cap { color: #fff; text-align: center; margin-top: .75rem; font-weight: 600; }

/* ---------- Program ---------- */
.modules { display: grid; gap: 1rem; }
@media (min-width: 860px) { .modules { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.module:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.module summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: 1.35rem 1.5rem;
}
.module summary::-webkit-details-marker { display: none; }
.module__num {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green); color: var(--gold-light); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
}
.module__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; }
.module__meta { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: .2rem; }
.module__chev { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); transition: transform .3s var(--ease); }
.module__chev svg { width: 18px; height: 18px; }
.module[open] .module__chev { transform: rotate(180deg); }
.module__body { padding: 0 1.5rem 1.5rem; display: grid; gap: 1rem; }
.module__outcome { color: var(--ink-2); }
.chapters { list-style: none; display: grid; border-top: 1px solid var(--line); }
.chapters li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-weight: 550; font-size: 1rem; }
.chapters li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; white-space: nowrap; }
.chapters li span:first-child { display: flex; gap: .65rem; }
.chapters li i { font-style: normal; color: var(--gold-text); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 860px) {
  .module summary { pointer-events: none; }
  .module__chev { display: none; }
}

/* ---------- Kalkulator ---------- */
.calc { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.calc__box {
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-lg); display: grid; gap: 1.5rem;
}
.field { display: grid; gap: .55rem; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.field label { font-weight: 700; }
.field output { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.1rem; color: var(--green); }
.field__hint { font-size: .85rem; color: var(--muted); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green-2) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--green-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--green-2); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--green-2); }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.result {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem;
}
.result span { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.result strong { font-family: var(--font-display); font-size: clamp(2rem, 1.7rem + 1.2vw, 2.6rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result--accent { background: var(--green); border-color: var(--green); color: #fff; }
.result--accent span { color: var(--gold-light); }
.calc__warn { display: flex; gap: .75rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: #fbefe4; color: #5a2a1c; font-size: .95rem; }
.calc__warn svg { width: 22px; height: 22px; flex: none; color: var(--danger); margin-top: .15rem; }

/* ---------- Dla kogo ---------- */
.fit { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .fit { grid-template-columns: 1.25fr 1fr; } }
.fit__card { border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); display: grid; gap: 1.25rem; align-content: start; }
.fit__card--yes { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fit__card--no { background: transparent; border: 1.5px dashed var(--line-2); }
.fit__card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; display: flex; gap: .6rem; align-items: center; }
.fit__list { list-style: none; display: grid; gap: 1rem; }
.fit__list li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; }
.fit__list svg { width: 28px; height: 28px; }
.fit__card--yes svg { color: var(--ok); }
.fit__card--no svg { color: var(--danger); }
.fit__list b { display: block; }
.fit__list span { color: var(--ink-2); font-size: 1rem; }

/* ---------- Opinie / autor (miejsca do uzupełnienia) ---------- */
.todo {
  position: relative; border: 2px dashed #c9a35a !important; background: repeating-linear-gradient(-45deg, #fffaf0, #fffaf0 12px, #fdf3df 12px, #fdf3df 24px) !important;
}
.todo::before {
  content: attr(data-todo); position: absolute; top: -12px; left: 16px;
  background: #c9a35a; color: #1b1306; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 6px;
}
.reviews { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; display: grid; gap: 1rem; align-content: start; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review footer { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: var(--muted); }
.review footer b { color: var(--ink); display: block; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-weight: 800; color: var(--green-2); flex: none; }
.verified { display: inline-flex; align-items: center; gap: .3rem; color: var(--ok); font-weight: 700; font-size: .8rem; }
.verified svg { width: 15px; height: 15px; }
.reviews-note { margin-top: 1.25rem; font-size: .85rem; color: var(--muted); text-align: center; }

.author { display: grid; gap: 2rem; align-items: center; border-radius: 24px; padding: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: 4rem; }
@media (min-width: 860px) { .author { grid-template-columns: 240px 1fr; } }
.author__photo { aspect-ratio: 1; border-radius: 20px; background: var(--green-soft); display: grid; place-items: center; color: var(--muted); font-weight: 700; text-align: center; padding: 1rem; font-size: .9rem; }
.author h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; }
.author p + p { margin-top: .75rem; }

/* ---------- Oferta ---------- */
.offer { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .offer { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.offer__visual { position: relative; display: grid; place-items: center; }
.offer__visual .book { margin: 0; width: min(62%, 300px); }
.offer__extras { position: absolute; display: grid; gap: .6rem; right: 0; bottom: 4%; }
.extra-pill { background: #fff; color: var(--ink); border-radius: 12px; padding: .6rem .85rem; box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; display: flex; gap: .5rem; align-items: center; }
.extra-pill svg { width: 20px; height: 20px; color: var(--ok); }
.price-card {
  background: var(--paper); color: var(--ink); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgb(227 196 138 / .5);
}
.price-card__head { padding: 1.75rem clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; display: grid; gap: .4rem; }
.price-card__head h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.4rem + .8vw, 2.1rem); font-weight: 700; }
.badge { justify-self: start; display: inline-flex; gap: .4rem; align-items: center; background: #fdf0d9; color: #6a4710; border: 1px solid #efd3a0; font-size: .8rem; font-weight: 800; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.stack { list-style: none; display: grid; padding: 1.25rem clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.stack li { display: grid; grid-template-columns: 26px 1fr auto; gap: .8rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.stack li:last-child { border-bottom: 0; }
.stack svg { width: 24px; height: 24px; color: var(--ok); margin-top: .15rem; }
.stack b { display: block; line-height: 1.35; }
.stack small { color: var(--muted); font-size: .9rem; display: block; margin-top: .15rem; line-height: 1.45; }
.stack .tag { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green-2); background: var(--green-soft); padding: .25rem .5rem; border-radius: 6px; white-space: nowrap; }
.price-card__foot { background: var(--cream); padding: 1.5rem clamp(1.5rem, 1rem + 2vw, 2.5rem) 1.75rem; display: grid; gap: 1rem; border-top: 1px solid var(--line); }
.price { display: flex; align-items: flex-end; gap: .9rem; flex-wrap: wrap; }
.price__now { font-family: var(--font-display); font-size: clamp(3.25rem, 2.6rem + 2.5vw, 4.25rem); font-weight: 700; line-height: .9; font-variant-numeric: tabular-nums; }
.price__now small { font-size: .45em; font-weight: 600; margin-left: .15rem; }
.price__old { display: grid; gap: .1rem; padding-bottom: .35rem; }
.price__old s { font-size: 1.25rem; color: var(--muted); font-weight: 700; }
.price__save { font-size: .8rem; font-weight: 800; color: var(--ok); text-transform: uppercase; letter-spacing: .06em; }
.omnibus { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.pay-methods { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pay-methods span { font-size: .78rem; font-weight: 800; padding: .3rem .6rem; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); letter-spacing: .02em; }
.secure { display: flex; justify-content: center; gap: .4rem; align-items: center; font-size: .85rem; color: var(--muted); font-weight: 600; text-align: center; }
.secure svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } .faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq__list { display: grid; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-weight: 700; font-size: 1.1rem; min-height: 48px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); flex: none; transition: background .2s, transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; translate: -50% -50%; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--green); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--green-2); }
.faq__a { padding: 0 3rem 1.5rem 0; color: var(--ink-2); display: grid; gap: .75rem; }
.faq-contact { margin-top: 1rem; display: flex; gap: .75rem; align-items: center; font-weight: 600; color: var(--ink-2); }

/* ---------- Finalne CTA ---------- */
.final { position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(24 36 28 / .78), rgb(24 36 28 / .92)); }
.final .container { display: grid; gap: 1.5rem; justify-items: center; }
.final .h2 { max-width: 18ch; }
.final .h2 em { color: var(--gold-light); }
.final p { color: #dfe4d8; max-width: 52ch; }
.final .trust-row { color: #cfd6c8; justify-content: center; }
.final .trust-row svg { color: var(--gold-light); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #c9cfc3; padding-block: 3.5rem 7rem; font-size: .95rem; }
@media (min-width: 760px) { .site-footer { padding-bottom: 3rem; } }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo span b { color: var(--gold-light); }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

/* ---------- Mobilny sticky CTA ---------- */
.buybar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgb(255 253 248 / .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgb(24 36 28 / .4);
  display: flex; align-items: center; gap: 1rem;
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar__price { display: grid; line-height: 1.1; }
.buybar__price strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; }
.buybar__price small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.buybar__price s { color: var(--muted); font-size: .85rem; margin-left: .25rem; }
.buybar .btn { flex: 1; min-height: 52px; }
@media (min-width: 960px) { .buybar { display: none; } }

/* ---------- Animacje wejścia (szanują reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .book, .hero__visual:hover .book { transform: none; }
}

/* ---------- Toast (tylko makieta) ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 96px; translate: -50% 0;
  background: var(--ink); color: #fff; padding: .85rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .95rem; max-width: calc(100% - 2rem); opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s;
}
.toast.is-on { opacity: 1; translate: -50% -6px; }
/* Upsell — rozszerzenie styles.css (te same tokeny) */

.mock-nav {
  position: sticky; top: 0; z-index: 70; background: var(--ink); color: #e9e2d2;
  font-size: .85rem; padding: .5rem var(--gutter);
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: center;
}
.mock-nav b { color: var(--gold-light); letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.mock-nav a { text-decoration: none; padding: .3rem .7rem; border-radius: 999px; font-weight: 600; }
.mock-nav a[aria-current="page"] { background: rgb(227 196 138 / .18); color: #fff; }
.mock-nav a:hover { color: #fff; }

.slim-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.slim-header .container { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.slim-header .secure { margin: 0; }

.note {
  border-left: 4px solid var(--gold); background: #fff8ea; border-radius: 0 12px 12px 0;
  padding: .9rem 1.1rem; font-size: .92rem; color: #4a3a1c;
}
.note b { color: var(--ink); }

/* ---------- Checkout ---------- */
.co { display: grid; gap: 1.5rem; padding-block: 2rem 4rem; }
@media (min-width: 920px) { .co { grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: start; } }
.co h1 { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); font-weight: 600; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: grid; gap: 1.1rem; }
.co-card h2 { font-size: 1.05rem; font-weight: 800; display: flex; gap: .6rem; align-items: center; }
.co-card h2 .step { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.input { display: grid; gap: .4rem; }
.input label { font-weight: 700; font-size: .95rem; }
.input input { min-height: 52px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: .7rem 1rem; background: var(--paper); }
.input input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgb(47 75 56 / .15); }
.input small { color: var(--muted); font-size: .85rem; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--green-2); }

/* Order bump */
.bump {
  position: relative; border: 2px dashed var(--cta); border-radius: var(--radius); background: #fffaf0;
  padding: 1.1rem; display: grid; grid-template-columns: 88px 1fr; gap: 1rem; cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.bump:hover { box-shadow: var(--shadow-sm); }
.bump:has(input:checked) { border-style: solid; border-color: var(--ok); background: #f1f7f1; }
.bump .tc { width: 88px; }
.bump__top { display: flex; gap: .65rem; align-items: center; font-weight: 800; }
.bump__top input { width: 24px; height: 24px; accent-color: var(--ok); flex: none; margin: 0; }
.bump__flag { position: absolute; top: -12px; right: 14px; background: var(--cta); color: var(--cta-ink); font-size: .72rem; font-weight: 800; padding: .2rem .55rem; border-radius: 6px; letter-spacing: .04em; text-transform: uppercase; }
.bump p { font-size: .92rem; color: var(--ink-2); margin-top: .35rem; }
.bump .price-chip { font-weight: 800; color: var(--ok); }

.summary { position: sticky; top: 90px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; }
.line .tc { width: 56px; }
.line b { display: block; font-size: .98rem; line-height: 1.3; }
.line small { color: var(--muted); }
.line span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.line[hidden] { display: none; }
.totals { display: grid; gap: .45rem; border-top: 1px solid var(--line); padding-top: 1rem; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; }
.totals .disc { color: var(--ok); font-weight: 700; }
.totals .grand { font-size: 1.35rem; font-weight: 800; padding-top: .4rem; }
.line.is-new { animation: panelIn .35s var(--ease); }

/* ---------- Dziękujemy / OTO ---------- */
.ty-hero { text-align: center; padding-block: 3rem 2rem; display: grid; gap: 1rem; justify-items: center; }
.ty-hero .ok { width: 64px; height: 64px; border-radius: 50%; background: #e3f0e6; color: var(--ok); display: grid; place-items: center; }
.ty-hero .ok svg { width: 34px; height: 34px; }
.ty-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem); font-weight: 600; }
.ty-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.ty-steps span { display: inline-flex; gap: .4rem; align-items: center; }
.ty-steps svg { width: 18px; height: 18px; color: var(--ok); }

.oto { background: var(--green); color: #f4efe4; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.oto__ribbon { background: var(--cta); color: var(--cta-ink); text-align: center; font-weight: 800; padding: .6rem 1rem; font-size: .95rem; }
.oto__ribbon .countdown { font-variant-numeric: tabular-nums; }
.oto__body { display: grid; gap: 2rem; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
@media (min-width: 960px) { .oto__body { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }
.oto h2 { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; line-height: 1.05; }
.oto h2 em { color: var(--gold-light); }
.oto p { color: #d7dccf; }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.covers .tc { box-shadow: 0 10px 24px -10px rgb(0 0 0 / .6); }
.covers .owned { position: relative; }
.covers .owned::after { content: "masz już podstawy"; position: absolute; inset: auto 4px 4px; background: rgb(0 0 0 / .65); color: #fff; font-size: .62rem; font-weight: 700; text-align: center; border-radius: 4px; padding: .15rem; }
.covers figure { margin: 0; }
.covers .plus { display: grid; place-items: center; text-align: center; border: 1.5px dashed rgb(227 196 138 / .5); border-radius: 6px; color: var(--gold-light); font-weight: 800; font-size: .85rem; line-height: 1.2; padding: .4rem; aspect-ratio: 3/4; }
.oto .stack { padding: 0; }
.oto .stack li { border-color: rgb(255 255 255 / .12); }
.oto .stack small { color: #b9c2b4; }
.oto .stack svg { color: var(--gold-light); }
.oto .price__old s { color: #aab3a5; }
.oto .price__save { color: var(--gold-light); }
.oto .omnibus { color: #aab3a5; }
.oto-actions { display: grid; gap: .75rem; }
.link-no { background: none; border: 0; color: #c6cdbf; text-decoration: underline; cursor: pointer; font-size: .92rem; justify-self: center; min-height: 44px; }

.oto__body--stack { grid-template-columns: 1fr !important; }

/* Oferta na zdjęciu z zielonym overlayem */
.oto--photo { position: relative; isolation: isolate; }
.oto__bg { position: absolute; inset: 0; z-index: -1; }
.oto__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.oto__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(227 196 138 / .18), transparent 70%),
    linear-gradient(180deg, rgb(22 36 27 / .66) 0%, rgb(22 36 27 / .8) 45%, rgb(18 30 22 / .93) 100%);
}
.oto__ribbon { position: relative; }
.oto__head { display: grid; gap: .9rem; text-align: center; justify-items: center; }
.oto .eyebrow { color: var(--gold-light); }
.oto__head h2 { text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.oto__head p { max-width: 52ch; color: #e1e5da; }

/* Karty wyboru tomu (div, nie fieldset: fieldset + grid psuje szerokość w Chrome) */
.picks { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 820px; justify-self: center; }
.pick {
  position: relative; cursor: pointer; width: 100%; min-width: 0;
  display: grid; grid-template-rows: auto 1fr auto; gap: .9rem; justify-items: center; text-align: center;
  padding: 1.25rem 1rem 1rem; border-radius: 18px;
  background: rgb(255 253 248 / .07); border: 1.5px solid rgb(255 255 255 / .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.pick:hover { transform: translateY(-3px); border-color: rgb(227 196 138 / .55); }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick:has(input:focus-visible) { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.pick:has(input:checked) { background: var(--paper); border-color: var(--cta); box-shadow: 0 0 0 3px rgb(227 160 60 / .35), 0 24px 50px -20px rgb(0 0 0 / .6); }
.pick__mark {
  position: absolute; top: .8rem; right: .8rem; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .5); display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.pick:has(input:checked) .pick__mark { background: var(--cta); border-color: var(--cta); }
.pick:has(input:checked) .pick__mark::after { content: ""; width: 10px; height: 6px; border: solid var(--cta-ink); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.pick .tc { width: min(150px, 78%); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .7); }
.pick__txt b { display: block; color: #fff; font-size: 1.05rem; }
.pick__txt small { color: #c3cbbd; font-size: .88rem; line-height: 1.45; display: block; margin-top: .25rem; }
.pick__price { display: flex; align-items: baseline; justify-content: center; gap: .5rem; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .14); padding-top: .75rem; width: 100%; font-variant-numeric: tabular-nums; }
.pick__price b { font-size: 1.25rem; color: var(--gold-light); }
.pick__price s { color: #9aa596; font-weight: 600; }
.pick__price small { color: #9aa596; font-size: .8rem; }
.pick:has(input:checked) .pick__txt b { color: var(--ink); }
.pick:has(input:checked) .pick__txt small { color: var(--ink-2); }
.pick:has(input:checked) .pick__price { border-color: var(--line); }
.pick:has(input:checked) .pick__price b { color: var(--green); }
.pick:has(input:checked) .pick__price s, .pick:has(input:checked) .pick__price small { color: var(--muted); }

@media (max-width: 699px) {
  .picks { grid-template-columns: 1fr; gap: .75rem; }
  .pick { grid-template-columns: 76px 1fr; grid-template-rows: auto auto; text-align: left; justify-items: start; align-items: center; column-gap: 1rem; padding: .9rem 2.8rem .9rem .9rem; }
  .pick .tc { width: 76px; grid-row: span 2; }
  .pick__price { justify-content: flex-start; border-top: 0; padding-top: 0; }
}
.downsell { margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .downsell { grid-template-columns: 260px 1fr auto; align-items: center; } }
.downsell .covers { grid-template-columns: repeat(3, 1fr); }
.downsell h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.downsell p { color: var(--ink-2); font-size: .98rem; }
.downsell .price-chip { font-size: 1.3rem; font-weight: 800; }

.download { margin-top: 2rem; display: grid; gap: 1rem; background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 760px) { .download { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Maile ---------- */
.mails { display: grid; gap: 1.5rem; padding-block: 2rem 4rem; }
@media (min-width: 980px) { .mails { grid-template-columns: 320px 1fr; align-items: start; } }
.timeline { list-style: none; display: grid; gap: .5rem; position: sticky; top: 70px; }
.timeline button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 56px 1fr; gap: .8rem; align-items: center;
  padding: .8rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background .2s;
}
.timeline button:hover { border-color: var(--line-2); }
.timeline button[aria-selected="true"] { border-color: var(--green); background: var(--green-soft); }
.timeline button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.timeline .day { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-align: center; background: var(--cream); border-radius: 10px; padding: .4rem 0; font-variant-numeric: lining-nums; }
.timeline b { display: block; font-size: .95rem; }
.timeline small { color: var(--muted); font-size: .82rem; }
.inbox { background: #eef0ec; border-radius: 20px; padding: clamp(.75rem, .5rem + 1.5vw, 2rem); }
.inbox__meta { background: #fff; border-radius: 12px 12px 0 0; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e5e5; font-size: .9rem; display: grid; gap: .2rem; }
.inbox__meta b { font-size: 1.05rem; }
.inbox__meta span { color: #666; }
.email { background: #fff; border-radius: 0 0 12px 12px; max-width: 600px; margin-inline: auto; width: 100%; }
.email__wrap { max-width: 560px; margin: 0 auto; padding: 2rem 1.5rem; display: grid; gap: 1.1rem; font-size: 1rem; line-height: 1.6; color: #222; }
.email__brand { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--green); }
.email__brand b { color: var(--gold-text); }
.email h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.email .btn { justify-self: center; }
.email__box { background: var(--cream); border-radius: 12px; padding: 1rem 1.2rem; }
.email__product { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }

.email__foot { font-size: .8rem; color: #888; text-align: center; border-top: 1px solid #eee; padding-top: 1rem; }
.stars-pick { display: flex; justify-content: center; gap: .4rem; }
.stars-pick a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--cream); color: var(--gold); text-decoration: none; }
.stars-pick svg { width: 28px; height: 28px; }
.email-panel[hidden] { display: none; }
.email__textarea { display: block; text-decoration: none; border: 1.5px solid var(--line-2); border-radius: 12px; padding: .9rem 1rem; min-height: 96px; color: #888; font-size: .95rem; background: #fff; }
.email__textarea:hover { border-color: var(--green-2); }

/* ---------- Formularz opinii ---------- */
.review-page { max-width: 680px; padding-block: 2rem 4rem; }
.review-form, .review-done { gap: 1.4rem; }
.rate { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rate legend { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.rate__stars { display: inline-flex; gap: .35rem; justify-self: start; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); color: #d6cab2; cursor: pointer; transition: color .15s, transform .15s var(--ease); }
.rate__stars label svg { width: 30px; height: 30px; }
.rate__stars:has(input:checked) label, .rate__stars:hover label { color: var(--gold); }
.rate__stars:not(:hover) input:checked + label ~ label,
.rate__stars:hover label:hover ~ label { color: #d6cab2; }
.rate__stars label:hover { transform: scale(1.08); }
.rate__stars input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.rate__label { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
textarea { font: inherit; min-height: 140px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: .8rem 1rem; background: var(--paper); resize: vertical; line-height: 1.55; }
textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgb(47 75 56 / .15); }
.form-error { color: var(--danger); font-weight: 700; }

/* ---------- Hub ---------- */
.flow { display: grid; gap: 1rem; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow a { counter-increment: f; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .5rem; align-content: start; transition: transform .2s var(--ease), box-shadow .2s; }
.flow a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow a::before { content: counter(f); width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: grid; place-items: center; font-weight: 800; }
.flow b { font-size: 1.1rem; }
.flow span { color: var(--ink-2); font-size: .95rem; }
.flow em { font-style: normal; color: var(--gold-text); font-weight: 800; font-size: .9rem; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; color: var(--green); }
.kpi span { font-size: .9rem; color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
table.calc-t { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums; min-width: 560px; }
.calc-t th, .calc-t td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
.calc-t th { background: var(--cream); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.calc-t td:not(:first-child), .calc-t th:not(:first-child) { text-align: right; }

/* ---------- Okładka tomu (CSS, spójna z okładką Tomu I) ---------- */
.tc {
  container-type: inline-size; position: relative; aspect-ratio: 3 / 4; width: 100%; overflow: hidden;
  border-radius: 3px 7px 7px 3px; color: #f4efe4; isolation: isolate;
  background: var(--bg, none) center / cover, var(--green);
  box-shadow: var(--shadow-sm);
  display: grid; align-content: space-between; justify-items: center; text-align: center;
  padding: 0;
}
.tc > * { padding-inline: 8cqi; }
.tc > :first-child { margin-top: 9cqi; }
.tc > :last-child { margin-bottom: 8cqi; }
.tc > :only-child { margin-block: auto; }
.tc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(24 36 28 / .62), rgb(24 36 28 / .9) 62%); }
.tc::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 6%; background: linear-gradient(90deg, rgb(0 0 0 / .45), rgb(255 255 255 / .1) 60%, transparent); }
.tc__brand { font-size: 5.2cqi; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.tc__mid { display: grid; gap: 4cqi; justify-items: center; }
.tc__mid::before { content: ""; width: 14cqi; height: 1px; background: var(--gold-light); opacity: .8; }
.tc__title { font-family: var(--font-display); font-weight: 600; font-size: 12.5cqi; line-height: 1.05; text-wrap: balance; }
.tc__vol { font-size: 5cqi; letter-spacing: .22em; text-transform: uppercase; color: #d9d2c0; font-weight: 700; }
.tc--gold { background: var(--bg, none) center / cover, #2a2418; }
.tc--gold::before { background: linear-gradient(180deg, rgb(43 33 15 / .55), rgb(30 24 12 / .92) 62%); }
@container (max-width: 70px) { .tc__brand, .tc__vol { display: none; } .tc__title { font-size: 15cqi; } }
