/* firmazai.com
   Paleta wychodzi z okładki: granat #0d1b2f i pomarańczowy kafel #eb6834.
   Jedna rodzina do interfejsu (Archivo, zmienna szerokość), Literata tylko dla fragmentu książki. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Literata";
  src: url("/fonts/literata-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  src: url("/fonts/literata-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: oklch(0.985 0.004 255);
  --paper-2: oklch(0.955 0.009 255);
  --paper-3: oklch(0.925 0.013 255);
  --line: oklch(0.86 0.016 255);
  --ink: oklch(0.225 0.045 258);
  --ink-2: oklch(0.42 0.035 258);
  --navy: #0d1b2f;            /* dokładny kolor tła okładki */
  --navy-2: oklch(0.29 0.055 258);
  --on-navy: oklch(0.95 0.012 255);
  --on-navy-2: oklch(0.79 0.045 255);
  --accent: oklch(0.69 0.185 42);
  --accent-hover: oklch(0.74 0.17 46);
  --accent-ink: oklch(0.5 0.16 40);   /* akcent jako tekst na jasnym tle, 4.5:1+ */
  --ok: oklch(0.62 0.15 160);
  --warn: oklch(0.8 0.15 88);
  --stop: oklch(0.58 0.2 27);

  --sans: "Archivo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.15; letter-spacing: -0.012em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-ink); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 6px;
}
.skip:focus { top: 1rem; color: var(--paper); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  font: inherit;
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1.1;
  padding: 0.85em 1.4em;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--navy); }
.btn--primary:hover { background: var(--accent-hover); color: var(--navy); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--navy-2); color: var(--paper); }
.btn--lg { font-size: 1.15em; padding: 1em 1.6em; }
.btn--block { width: 100%; }
.btn__price {
  padding-left: 0.75em;
  border-left: 1.5px solid color-mix(in oklch, var(--navy) 35%, transparent);
  font-weight: 800;
}

.link-arrow {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
}
.link-arrow::after { content: " ↓"; }

/* ---------- Nagłówek strony ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-stretch: 88%;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 1.35rem; height: 1.35rem; }
.brand__dot { fill: var(--accent); }
.brand__tld { color: var(--ink-2); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); font-size: 0.95rem; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.site-nav__cta) { display: none; }
.site-nav__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.55em 1em;
  border-radius: 8px;
  font-weight: 700;
}
.site-nav__cta:hover { background: var(--navy-2); color: var(--paper); }
@media (min-width: 46rem) {
  .site-nav a:not(.site-nav__cta) { display: inline; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem); overflow: clip; }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker::before { content: ""; width: 2.2em; height: 4px; border-radius: 2px; background: var(--accent); }

.hero h1 {
  font-size: clamp(3.1rem, 1.4rem + 8.2vw, 7.25rem);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero__sub {
  display: block;
  max-width: 21em;
  margin-top: 0.75em;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem);
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.lead { max-width: 34em; margin-top: 1.4rem; color: var(--ink-2); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.hero__actions form { margin: 0; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.hero__cover { position: relative; justify-self: center; width: min(100%, 23rem); }
.hero__cover::before {
  /* kafle z okładki, powtórzone jako tło */
  content: "";
  position: absolute;
  inset: -9% -22% -9% 22%;
  background:
    url("/img/kafle.svg") top right / 11rem auto repeat;
  border-radius: 1.25rem;
  opacity: 0.9;
}
.hero__cover img {
  position: relative;
  border-radius: 6px 10px 10px 6px;
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 0.06),
    0 1px 2px oklch(0.2 0.05 258 / 0.3),
    0 18px 30px -12px oklch(0.2 0.05 258 / 0.45),
    0 50px 70px -30px oklch(0.2 0.05 258 / 0.5);
  transform: rotate(-2.5deg);
}

@media (min-width: 56rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); }
  .hero__cover { justify-self: end; width: 100%; max-width: 26rem; }
}

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

.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.1em; }

/* Listy z haczykiem */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.42em;
  width: 0.95rem;
  height: 0.5rem;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.checks--plain li::before {
  top: 0.62em;
  width: 0.7rem;
  height: 0;
  border-left: 0;
  transform: none;
}
.checks--light li::before { border-color: var(--accent); }

/* ---------- Problem / fragment książki ---------- */

.problem { padding-top: 0; }
.problem__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.page {
  margin: 0;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: oklch(0.995 0.003 90);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 30px 50px -35px oklch(0.2 0.05 258 / 0.35);
  font-family: var(--serif);
  font-size: 1.02em;
  line-height: 1.7;
}
.page blockquote { margin: 0; max-width: 34em; }
.page__label {
  margin-bottom: 1.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.page__time { font-size: 1.5em; font-weight: 700; line-height: 1.2; margin-bottom: 0.7em; }
.problem__side h2 { margin-bottom: 1.5rem; }
.problem__side .checks { margin-bottom: 1.75rem; font-weight: 500; }
.problem__side > p { color: var(--ink-2); }

@media (min-width: 56rem) {
  .problem__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .problem__side { padding-top: 2.5rem; }
}

/* ---------- Dla kogo ---------- */

.roles { border-top: 2px solid var(--ink); }
.roles__row {
  display: grid;
  gap: 0.6rem 2.5rem;
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  border-bottom: 1px solid var(--line);
}
.roles__row p { margin: 0; color: var(--ink-2); }
.roles__start { font-weight: 700; color: var(--ink) !important; white-space: nowrap; }
.roles__start span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
@media (min-width: 56rem) {
  .roles__row { grid-template-columns: 17rem minmax(0, 1fr) auto; align-items: baseline; }
}

.not-for {
  max-width: 46rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.4rem 1.6rem;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.not-for h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.not-for p { color: var(--ink-2); }

/* ---------- Co w środku ---------- */

.feature {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 2px solid var(--ink); }
.feature__text h3 { margin-bottom: 0.8rem; }
.feature__text p { color: var(--ink-2); max-width: 32em; }
.feature__note { font-size: 0.9em; }
@media (min-width: 56rem) {
  .feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}

.prompt {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.prompt__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.12);
  font-size: 0.88rem;
  color: var(--on-navy-2);
}
.prompt__bar strong { color: var(--on-navy); }
.prompt__copy {
  flex: none;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: var(--on-navy);
  border: 0;
  border-radius: 6px;
  padding: 0.35em 0.8em;
  cursor: pointer;
}
.prompt__copy:hover { background: var(--accent); }
.prompt pre {
  margin: 0;
  padding: 1.2rem;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  font-size: 0.86rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lights { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.lights caption {
  caption-side: bottom;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-2);
  text-align: left;
}
.lights th, .lights td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; font-size: 0.95rem; }
.lights tr + tr th, .lights tr + tr td { border-top: 1px solid var(--line); }
.lights th { white-space: nowrap; font-weight: 800; font-stretch: 90%; }
.lights td { color: var(--ink-2); }
.lights td strong { display: block; margin-top: 0.25rem; color: var(--ink); }
.light { display: inline-block; width: 0.8em; height: 0.8em; margin-right: 0.55em; border-radius: 50%; }
.light--green { background: var(--ok); }
.light--yellow { background: var(--warn); }
.light--red { background: var(--stop); }
@media (max-width: 30rem) {
  .lights th, .lights td { display: block; }
  .lights td { padding-top: 0; border-top: 0 !important; }
}

.cases, .phases { list-style: none; margin: 0; padding: 0; }
.cases li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.cases li:first-child { padding-top: 0; }
.cases span { font-weight: 800; font-stretch: 85%; font-variant-numeric: tabular-nums; }

.phases li {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  column-gap: 0.75rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.phases li:first-child { padding-top: 0; }
.phases__when { grid-row: span 2; font-size: 0.85rem; font-weight: 700; color: var(--ink-2); padding-top: 0.2em; }
.phases li > span:last-child { color: var(--ink-2); font-size: 0.95rem; }

/* Spis treści i FAQ: natywne <details> */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  flex: none;
  margin-left: auto;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }

.toc {
  margin-top: clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0 clamp(1.2rem, 3vw, 2rem);
}
.toc summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  padding-block: 1.3rem;
  font-weight: 800;
  font-stretch: 88%;
  font-size: 1.25rem;
}
.toc summary span { font-size: 0.9rem; font-weight: 500; font-stretch: 100%; color: var(--ink-2); }
.toc ol { margin: 0; padding: 0 0 0 1.5rem; columns: 2 22rem; column-gap: 3rem; }
.toc li { padding-block: 0.4rem; break-inside: avoid; color: var(--ink-2); }
.toc li strong { color: var(--ink); }
.toc > p { padding-block: 1.2rem 1.6rem; font-size: 0.95rem; color: var(--ink-2); }

/* ---------- Wiarygodność i opinie ---------- */

.proof { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.proof__main h2 { margin-bottom: 2rem; }
.proof__main .checks { max-width: 38rem; }
.proof__main .checks li { color: var(--ink-2); }
.proof__main .checks strong { color: var(--ink); }
.proof__rule {
  max-width: 28em;
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-size: 1.25em;
  line-height: 1.45;
}
.reviews { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper-2); border-radius: var(--radius); }
.reviews h3 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.reviews__empty { color: var(--ink-2); font-size: 0.97rem; }
.reviews__list { display: grid; gap: 1.5rem; }
.review { margin: 0; }
.review blockquote { margin: 0 0 0.6rem; font-family: var(--serif); }
.review figcaption { font-size: 0.9rem; color: var(--ink-2); }
@media (min-width: 56rem) {
  .proof { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .reviews { margin-top: 0.5rem; }
}

/* ---------- Cennik: granat okładki ---------- */

.pricing { background: var(--navy); color: var(--on-navy); }
.pricing a:hover { color: var(--accent-hover); }
.pricing__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.pricing h2 { margin-bottom: 2rem; }
.pricing .checks { line-height: 1.5; }
.pricing .checks li { color: var(--on-navy-2); }
.pricing .checks strong { color: var(--on-navy); }

.offer {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
}
.offer form { margin: 0; }
.offer__name { font-weight: 800; font-stretch: 88%; font-size: 1.3rem; line-height: 1.2; margin-bottom: 1.25rem; }
.offer__name span { display: block; font-size: 0.95rem; font-weight: 500; font-stretch: 100%; color: var(--ink-2); margin-top: 0.2rem; }
.offer__price {
  font-size: clamp(3.5rem, 2.5rem + 4vw, 5rem);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.offer__price span { display: block; margin-top: 0.5rem; font-size: 0.92rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); }
.offer__pay { margin-top: 1.1rem; font-size: 0.92rem; }
.offer__legal { font-size: 0.8rem; line-height: 1.5; color: var(--ink-2); }
.offer a:hover { color: var(--accent-ink); }
@media (min-width: 56rem) {
  .pricing__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; gap: 1rem; padding-block: 1.15rem; font-weight: 700; font-size: 1.08em; line-height: 1.3; }
.faq details p { max-width: 38em; padding-bottom: 1.4rem; color: var(--ink-2); }
@media (min-width: 56rem) {
  .faq { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); align-items: start; }
}

/* ---------- Newsletter ---------- */

.newsletter__grid { display: grid; gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.newsletter h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); margin-bottom: 1rem; }
.newsletter__grid > div p { color: var(--ink-2); max-width: 32em; }
.signup > label:first-child { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.45rem; }
.signup__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signup input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  color: var(--ink);
  padding: 0.8em 1em;
  background: var(--paper);
  border: 1.5px solid var(--ink-2);
  border-radius: var(--radius);
}
.signup input[type="email"]::placeholder { color: oklch(0.56 0.03 258); }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1rem; font-size: 0.85rem; line-height: 1.5; color: var(--ink-2); }
.signup__consent input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--ink); }
.signup__status { min-height: 1.5em; margin-top: 0.9rem; font-weight: 700; font-size: 0.95rem; }
.signup__status[data-state="error"] { color: var(--stop); }
.signup__status[data-state="ok"] { color: oklch(0.45 0.12 160); }
@media (min-width: 56rem) {
  .newsletter__grid { grid-template-columns: 1fr 1fr; }
}

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

.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; font-size: 0.95rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; gap: 2rem 3rem; }
.site-footer__brand { font-weight: 800; font-stretch: 88%; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.5rem; }
.site-footer h2 { font-size: 0.8rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.7rem; }
.site-footer p { margin-bottom: 0.4rem; max-width: 26em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.82rem; }
.site-footer__fine p { max-width: 60em; }
@media (min-width: 46rem) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Podstrony: podziękowanie, dokumenty, 404 ---------- */

.simple { padding-block: clamp(3rem, 8vw, 6rem) var(--section); min-height: 62vh; }
.simple h1 { font-size: clamp(2.4rem, 1.5rem + 4.5vw, 4.5rem); font-weight: 900; font-stretch: 80%; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.simple > .wrap > p { max-width: 38em; color: var(--ink-2); }

.downloads { list-style: none; margin: 2.5rem 0; padding: 0; max-width: 44rem; border-top: 2px solid var(--ink); }
.downloads li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.downloads strong { display: block; }
.downloads span { font-size: 0.9rem; color: var(--ink-2); }
.notice { max-width: 44rem; margin-top: 2rem; padding: 1.2rem 1.5rem; background: var(--paper-2); border-radius: var(--radius); }
.notice[data-state="error"] { background: oklch(0.95 0.03 27); }
[hidden] { display: none !important; }

.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 0.7rem; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.placeholder {
  padding: 1rem 1.25rem;
  background: oklch(0.95 0.05 88);
  border-radius: var(--radius);
  color: var(--ink) !important;
  font-weight: 500;
}

/* ---------- Ruch ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__text > *, .hero__cover {
    animation: rise 0.9s var(--ease) both;
  }
  .hero__text > :nth-child(2) { animation-delay: 0.06s; }
  .hero__text > :nth-child(3) { animation-delay: 0.12s; }
  .hero__text > :nth-child(4) { animation-delay: 0.18s; }
  .hero__text > :nth-child(5) { animation-delay: 0.24s; }
  .hero__cover { animation-delay: 0.15s; animation-duration: 1.1s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
