/* =========================================================
   Zanim coś się stanie — strona sprzedażowa
   Paleta zgodna z okładką: granat, krem, pomarańcz.
   ========================================================= */

:root {
  --navy: #0f2144;
  --navy-2: #172d58;
  --navy-deep: #0a1730;
  --cream: #f6efe2;
  --cream-2: #fbf7ef;
  --paper: #fffdf8;
  --orange: #f39a2b;
  --orange-2: #e8861a;
  --orange-ink: #a24f00; /* pomarańcz do tekstu na jasnym tle (kontrast AA) */
  --ink: #1b1e24;
  --ink-2: #3a3f49;
  --line: #e2d6c1;
  --white: #ffffff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 14px;
  --shadow-soft: 0 1px 2px rgba(15, 33, 68, .06), 0 10px 30px -12px rgba(15, 33, 68, .18);
  --topbar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13.5C55 7 120 6.5 178 8.5c42 1.4 82 3 119 1.6' fill='none' stroke='%23f39a2b' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
strong { font-weight: 700; }

a { color: var(--navy); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografia ---------- */

.eyebrow {
  margin: 0 0 18px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}

.mark {
  position: relative;
  white-space: nowrap;
  background: var(--brush) no-repeat left 100% / 100% .32em;
  padding-bottom: .06em;
}
.mark--light { color: var(--white); }

.hand {
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}

.btn--orange {
  background: var(--orange);
  color: var(--navy-deep);
  box-shadow: 0 2px 0 var(--orange-2), 0 10px 24px -10px rgba(232, 134, 26, .7);
}
.btn--orange:hover {
  background: #f6a843;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--orange-2), 0 14px 28px -10px rgba(232, 134, 26, .75);
}
.btn--orange:active { transform: translateY(1px); }

.btn--big {
  min-height: 66px;
  padding: 18px 34px;
  font-size: 1.25rem;
}
.btn--small {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 1rem;
}
.btn--full { width: 100%; }

/* ---------- Pasek promocji ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  min-height: var(--topbar-h);
  margin: 0 auto;
  padding: 8px 24px;
}
.topbar__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 154, 43, .22);
}
.topbar__timer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.countdown__seg {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}
.countdown__seg b {
  font-size: 1.35rem;
  font-weight: 700;
  min-width: 2ch;
  text-align: center;
}
.countdown__seg small {
  font-size: .85rem;
  color: #dfe5f0;
}
.countdown__sep { font-weight: 700; color: var(--orange); }

.topbar__cta-short { display: none; }

.is-ended .topbar__label .dot { background: #c9cfdb; box-shadow: none; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(1200px 520px at 85% 30%, rgba(243, 154, 43, .10), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--navy);
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__pain {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
  padding-left: 20px;
  border-left: 4px solid var(--orange);
  margin-bottom: 20px;
}
.hero__lead {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 36em;
}

.pull {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  position: relative;
}
.pull::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -3px;
  width: 64px;
  height: 6px;
  border-radius: 3px;
  background: var(--orange);
}
.pull p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
}

.ticks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230a1730' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ticks--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.ticks--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 24px;
  margin: 24px 0;
}

.buy {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 18px;
}
.price__old {
  font-size: 1.5rem;
  color: var(--ink-2);
  text-decoration-thickness: 2px;
  text-decoration-color: #b4402a;
}
.price__now {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.price__tag {
  align-self: center;
  padding: 4px 12px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
}
.buy__note {
  margin: 14px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-2);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 1rem;
  color: var(--ink-2);
}
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.ico { width: 18px; height: 18px; color: var(--navy); flex: none; }

/* ---------- Mockup książki (CSS 3D) ---------- */

.hero__book {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.book-stage {
  --w: 400px;
  --t: 40px; /* grubość: ponad 500 stron */
  position: relative;
  width: var(--w);
  max-width: 100%;
  perspective: 1800px;
  padding: 10px 0 40px;
}
.book {
  position: relative;
  width: var(--w);
  max-width: 100%;
  aspect-ratio: 1055 / 1491;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.book__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 6px 6px 4px;
  transform: translateZ(calc(var(--t) / 2));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}
/* światło na okładce */
.book::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px 6px 6px 4px;
  transform: translateZ(calc(var(--t) / 2 + 1px));
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.18) 1.4%, rgba(0,0,0,.12) 3%, transparent 6%),
    linear-gradient(115deg, rgba(255,255,255,.16) 0%, transparent 38%);
  pointer-events: none;
}
/* blok stron po prawej */
.book::before {
  content: "";
  position: absolute;
  top: 1.2%;
  bottom: 1.2%;
  left: 0;
  width: var(--t);
  transform: translateX(calc(var(--w) - var(--t) / 2 - 3px)) rotateY(90deg);
  background:
    repeating-linear-gradient(90deg, #fbf8f1 0 2px, #e9e2d2 2px 3px),
    #f4efe4;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .18);
}
.book-shadow {
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 18px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 23, 48, .42), transparent);
  filter: blur(6px);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .book-stage:hover .book { transform: rotateY(-12deg) rotateX(3deg) translateY(-6px); }
  .book-stage:hover .book-shadow { transform: scale(.94); opacity: .8; }
}

.hero__book-note {
  margin: -6px 0 0;
  font-size: 1.35rem;
  color: var(--navy);
}
.hero__book-note .hand {
  background: var(--brush) no-repeat left 100% / 100% .35em;
  padding: 0 4px 4px;
}

/* ---------- Sekcje ---------- */

.section { padding: 104px 0; }
.section--light { background: var(--cream-2); }
.section--cream { background: var(--cream); }

.section__head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__lead {
  margin: 22px auto 0;
  font-size: 1.25rem;
  color: var(--ink-2);
  max-width: 40em;
}

/* Kolejność działania */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 52px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .95rem;
}

/* Siatka sytuacji */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  position: relative;
  padding: 32px 30px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.case__ico {
  width: 44px;
  height: 44px;
  padding: 9px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
}
.case__num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #c6b79c;
}
.case h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.case p { margin: 0; color: var(--ink-2); }

.procedure {
  margin-top: 48px;
  padding: 40px 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.procedure::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(243, 154, 43, .45);
  border-radius: var(--radius);
  pointer-events: none;
}
.procedure__flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.procedure__flow .arrow { color: var(--orange); }
.procedure__text {
  margin: 0 auto;
  max-width: 38em;
  font-size: 1.15rem;
  color: #e8ecf4;
}

/* Statystyki */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 72px;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats div {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 28px 12px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.stats div:first-child { border-left: 0; }
.stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}
.stats dt {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}

/* Strony podglądu — jak kartki na stole */
.pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 auto 72px;
  max-width: 1080px;
  perspective: 1600px;
}
.page-fig { margin: 0; }
.page-fig figcaption {
  margin-top: 22px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
}
.page {
  aspect-ratio: 210 / 297;
  padding: 9% 9% 8%;
  background: var(--paper);
  border-radius: 3px;
  box-shadow:
    0 1px 1px rgba(0,0,0,.06),
    0 2px 0 -1px #f1ebdf, 0 3px 1px -1px rgba(0,0,0,.06),
    0 24px 40px -18px rgba(15, 33, 68, .35);
  font-size: clamp(.7rem, .55rem + .32vw, .86rem);
  line-height: 1.45;
  color: var(--ink);
  overflow: hidden;
  transform-origin: 50% 100%;
}
.page-fig--1 .page { transform: rotateX(10deg) rotateZ(-3deg); }
.page-fig--2 .page { transform: rotateX(10deg) rotateZ(1deg) translateY(-8px); }
.page-fig--3 .page { transform: rotateX(10deg) rotateZ(3deg); }

.page p { margin: 0 0 .5em; }
.page__run {
  font-size: .82em;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: .6em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1em !important;
}
.page__kicker {
  display: inline-block;
  padding: .15em .6em;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .85em;
  border-radius: 3px;
}
.page__title {
  font-family: var(--serif);
  font-size: 1.65em;
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}
.page__title--big { font-size: 2.1em; margin-bottom: .3em !important; }
.page__rule {
  width: 34%;
  height: .4em;
  margin: .3em 0 .9em;
  background: var(--brush) no-repeat left center / 100% 100%;
}
.page__h { font-weight: 700; color: var(--navy); margin: .5em 0 .1em !important; }
.page__h--no { color: #a3321d; }
.page__list li { padding-left: 1em; position: relative; }
.page__list li::before { content: "–"; position: absolute; left: 0; color: var(--orange-ink); }
.page__box {
  margin-top: .8em !important;
  padding: .6em .7em;
  border-left: 3px solid var(--orange);
  background: #fbf1e1;
  font-weight: 600;
}
.page--card { border: 6px solid var(--navy); box-shadow: inset 0 0 0 2px var(--orange), 0 24px 40px -18px rgba(15, 33, 68, .35); }
.page__checks { margin: .8em 0 1em; }
.page__checks li {
  display: flex;
  gap: .6em;
  align-items: flex-start;
  padding: .45em 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 600;
}
.page__checks li::before {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  margin-top: .2em;
  border: 2px solid var(--navy);
  border-radius: 3px;
}
.page__numbers {
  display: flex;
  gap: .8em;
  align-items: center;
  font-weight: 700;
}
.page__numbers span:first-child {
  padding: .2em .6em;
  background: var(--orange);
  color: var(--navy-deep);
  border-radius: 4px;
  font-size: 1.3em;
}
.page__days li {
  display: grid;
  grid-template-columns: 1.9em 1fr auto;
  align-items: center;
  gap: .5em;
  padding: .42em 0;
  border-bottom: 1px solid var(--line);
}
.page__days b {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .9em;
}
.page__days i { font-style: normal; font-weight: 700; color: var(--orange-ink); font-size: .9em; }

/* Bloki funkcji */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 34px 32px;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 5px solid var(--orange);
  box-shadow: var(--shadow-soft);
}
.feature h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.feature .ticks li { margin-bottom: 6px; }

.center-cta { margin-top: 56px; text-align: center; }

/* ---------- Autor ---------- */

.author {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.author__photo { margin: 0; position: relative; }
.author__photo img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 30%;
  box-shadow: 0 30px 60px -30px rgba(15, 33, 68, .55);
}
.author__photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  z-index: -1;
}
.author__photo { isolation: isolate; }
.author__photo figcaption {
  margin-top: 30px;
  font-weight: 600;
  color: var(--ink-2);
}
.author__text .h2 { margin-bottom: 28px; }
.author__text > p { font-size: 1.2rem; }

.pull--author { margin-top: 32px; }
.pull--author p { font-size: 1.35rem; }
.pull--author footer { margin-top: 12px; font-weight: 700; color: var(--orange); }

.sources {
  margin-top: 88px;
  padding: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  text-align: center;
}
.sources__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
}
.sources__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.sources__list li {
  padding: 10px 20px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream-2);
}
.sources__text { max-width: 44em; margin: 0 auto; color: var(--ink-2); }

.notice {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 860px;
  margin: 32px auto 0;
  padding: 22px 26px;
  background: #fbf1e1;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
}
.notice p { margin: 0; }
.notice__label {
  flex: none;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- Oferta ---------- */

.offer {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 2px 4px rgba(15, 33, 68, .05), 0 40px 80px -40px rgba(15, 33, 68, .4);
  border: 1px solid var(--line);
  position: relative;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #efe5d3;
  border-radius: 16px;
  pointer-events: none;
}
.offer__book { display: flex; justify-content: center; }
.book-stage--offer { --w: 340px; --t: 34px; }
.offer__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.offer__sub {
  margin: 10px 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-2);
}
.offer__price {
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.offer__old { margin: 0 0 4px; font-size: 1.2rem; color: var(--ink-2); }
.offer__old s { text-decoration-thickness: 2px; text-decoration-color: #b4402a; }
.offer__now {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
}
.offer__today {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-ink);
  vertical-align: middle;
}
.guarantee {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px dashed #cdb894;
}
.guarantee__ico { width: 44px; height: 44px; flex: none; color: var(--navy); }
.guarantee__title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
}
.guarantee p:last-child { margin: 0; }

/* FAQ */
.faq {
  max-width: 860px;
  margin: 96px auto 0;
}
.faq__title { text-align: center; margin-bottom: 32px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 18px 4px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: transform .2s var(--ease), background-color .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--orange); border-color: var(--orange); }
.faq details p {
  margin: 0;
  padding: 0 60px 26px 4px;
  color: var(--ink-2);
  font-size: 1.15rem;
}

/* Finałowe CTA */
.final {
  margin-top: 104px;
  margin-bottom: -104px;
  padding: 96px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.final__title {
  margin: 0 auto 40px;
  max-width: 22em;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
.final__note { margin: 20px 0 0; color: #e3e8f1; font-size: 1.05rem; }

/* ---------- Stopka ---------- */

.footer {
  padding: 26px 0;
  background: var(--navy-deep);
  color: #e3e8f1;
  font-size: 1rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: #e3e8f1; }
.footer a:hover { color: var(--white); }

/* ---------- Sticky CTA na telefonie ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 239, .97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(15, 33, 68, .3);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }

/* ---------- Powiadomienie o zakupie ---------- */

.toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  padding: 12px 18px 12px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px -16px rgba(15, 33, 68, .4);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast img { width: 40px; height: auto; border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.toast p { margin: 0; line-height: 1.35; }
.toast__who { font-weight: 700; color: var(--ink); font-size: 1rem; }
.toast__when { color: var(--ink-2); font-size: .95rem; }

/* ---------- Popup przy wyjściu ---------- */

.exit {
  width: min(760px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
}
.exit::backdrop { background: rgba(10, 23, 48, .62); }
.exit__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
}
.exit__cover { border-radius: 3px 5px 5px 3px; box-shadow: 0 20px 40px -16px rgba(15, 33, 68, .6); }
.exit__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}
.exit__text { font-size: 1.15rem; }
.exit .ticks { margin: 16px 0 24px; }
.exit__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.exit__close:hover { background: var(--cream); }
.exit__no {
  display: block;
  margin: 14px auto 0;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Responsywność ---------- */

@media (max-width: 1000px) {
  .topbar__timer-text { display: none; }
}

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__book { order: -1; }
  .book-stage { --w: 280px; --t: 30px; padding-bottom: 30px; }
  .hero__book-note { display: none; }
  .cases, .features { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(4) { border-left: 0; }
  .stats div:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.14); }
  .pages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .author { grid-template-columns: 1fr; gap: 48px; }
  .author__photo { max-width: 560px; }
  .offer { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
  .book-stage--offer { --w: 240px; --t: 26px; }
}

@media (max-width: 720px) {
  :root { --topbar-h: 58px; }
  body { font-size: 1.125rem; }
  .container { padding: 0 20px; }

  .topbar__inner { padding: 6px 12px; gap: 10px; }
  .topbar__label { display: none; }
  .is-ended .topbar__label { display: flex; }
  .topbar__timer { gap: 8px; }
  .countdown { gap: 3px; }
  .countdown__seg { padding: 2px 6px; }
  .countdown__seg b { font-size: 1.15rem; }
  .countdown__seg small { display: none; }
  .countdown__seg--days small { display: inline; }
  .topbar__cta { padding: 8px 14px; font-size: .95rem; min-height: 44px; }
  .topbar__cta-long { display: none; }
  .topbar__cta-short { display: inline; }

  .section { padding: 72px 0; }
  .section__head { text-align: left; margin-bottom: 36px; }
  .section__lead { margin-left: 0; }
  .mark { white-space: normal; }
  .steps { justify-content: flex-start; }
  .hero__pain { font-size: 1.2rem; }
  .book-stage { --w: 240px; --t: 26px; }
  .pull p { font-size: 1.3rem; }
  .ticks--grid, .ticks--two { grid-template-columns: 1fr; }
  .btn--big { width: 100%; padding: 16px 20px; font-size: 1.15rem; }
  .price__now { font-size: 2.8rem; }

  .cases, .features { grid-template-columns: 1fr; gap: 18px; }
  .case { padding: 26px 24px; }
  .procedure { padding: 32px 22px; }
  .procedure__flow { flex-direction: column; gap: 2px; }
  .procedure__flow .arrow { transform: rotate(90deg); }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .stats div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .stats div:first-child { grid-column: 1 / -1; border-top: 0; }
  .stats div:nth-child(2), .stats div:nth-child(4) { border-left: 0; }
  .stats div:nth-child(3), .stats div:nth-child(5) { border-left: 1px solid rgba(255,255,255,.14); }

  .pages { grid-template-columns: 1fr; max-width: 360px; gap: 44px; }
  .page { font-size: .86rem; }
  .page-fig .page { transform: rotateX(8deg) rotateZ(-1.5deg); }
  .page-fig--2 .page { transform: rotateX(8deg) rotateZ(1.5deg); }

  .author__photo::before { inset: 12px -10px -12px 12px; }
  .sources { margin-top: 64px; padding: 32px 20px; }
  .sources__list li { font-size: 1.1rem; padding: 8px 14px; }
  .notice { flex-direction: column; gap: 8px; }

  .offer { padding: 32px 20px; }
  .offer::before { display: none; }
  .offer__now { font-size: 2.9rem; }
  .guarantee { flex-direction: column; gap: 10px; }

  .faq { margin-top: 72px; }
  .faq summary { font-size: 1.2rem; }
  .faq details p { padding-right: 4px; }

  .final { margin-top: 72px; margin-bottom: -72px; padding: 72px 0; }

  /* miejsce na przycisk na dole ekranu — nie zasłania treści */
  body.has-mobile-cta { padding-bottom: 84px; }
  .toast { left: 12px; right: 12px; bottom: 96px; max-width: none; }
}

@media (min-width: 721px) {
  .mobile-cta { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .book-stage:hover .book { transform: rotateY(-16deg) rotateX(2deg); }
}

/* ---------- Podstrony (regulamin, polityka, kontakt) ---------- */

.subnav {
  background: var(--navy-deep);
  border-bottom: 3px solid var(--orange);
}
.subnav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.subnav a { color: var(--white); font-weight: 700; text-decoration: none; }
.subnav a:hover { text-decoration: underline; }

.legal { padding: 72px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 28px;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin: 40px 0 12px;
}
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

.form { display: grid; gap: 22px; margin-top: 32px; }
.form label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #bfae90;
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.form input:focus,
.form textarea:focus { border-color: var(--navy); outline: 3px solid var(--orange); outline-offset: 1px; }
.form textarea { min-height: 180px; resize: vertical; }
.form__hidden { position: absolute; left: -9999px; }
.form__status { font-weight: 700; color: var(--navy); }
