/* =========================================================
   Actually Helpful Studio · The Actually Helpful Times
   Jeden arkusz dla całej strony. Bez frameworków.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f4efe3;
  --paper-2: #ebe4d3;
  --paper-3: #fffaf0;
  --ink: #1b1b1b;
  --muted: #5a554c;
  --rule-soft: #cfc7b5;
  --rule-dot: #bdb4a0;
  --red: #b3261e;
  --gold: #e8c26a;
  --green: #1d7a3a;

  --term-bg: #0d1117;
  --term-bg-2: #161b22;
  --term-line: #30363d;
  --term-text: #c9d1d9;
  --term-muted: #8b949e;
  --term-green: #7ee787;
  --term-yellow: #e3b341;
  --term-blue: #79c0ff;
  --term-red: #ff7b72;

  /* Newsreader: krój zaprojektowany do czytania wiadomości na ekranie.
     Atkinson Hyperlegible: zaprojektowany przez Braille Institute pod maksymalną czytelność. */
  --serif: "Newsreader Variable", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, Consolas, monospace;
  --display: var(--sans);

  --wrap: 1180px;
  --gutter: 20px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

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

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Typography helpers ---------- */
.kicker {
  display: block; margin-bottom: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.serif { font-family: var(--serif); }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-weight: 900;
  font-size: 3.6em; line-height: .85; padding: 4px 8px 0 0;
}
.todo {
  font-family: var(--mono); font-size: 12px; color: var(--red);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; font-weight: 800; letter-spacing: .03em; border: 2px solid var(--ink);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.link { font-weight: 600; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

/* ---------- 5. Header ---------- */
.strip {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 0; border-bottom: 1px solid var(--ink);
}
.lang { display: flex; gap: 2px; }
.lang a, .lang span { padding: 2px 6px; text-decoration: none; }
.lang a:hover { color: var(--red); }
.lang [aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang .soon { color: var(--muted); }

.mast { text-align: center; padding: 22px 0 10px; }
.mast__title {
  font-family: var(--serif); font-weight: 800; line-height: .95; letter-spacing: -.015em;
  font-size: clamp(30px, 6.4vw, 82px);
}
.mast__title a { text-decoration: none; }
.mast__motto {
  font-family: var(--serif); font-style: italic; color: var(--muted);
  font-size: clamp(14px, 2vw, 18px); margin-top: 8px;
}
.mast--small { padding: 16px 0 6px; }
.mast--small .mast__title { font-size: clamp(28px, 5vw, 52px); }
.rule-double { border: 0; border-top: 4px double var(--ink); margin-top: 10px; }

.nav { border-bottom: 1px solid var(--ink); }
.nav ul {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px;
  padding: 10px 0;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }

/* ---------- 6. Ticker (kinetic type) ---------- */
.ticker {
  background: var(--ink); color: var(--paper); overflow: hidden;
  padding: 12px 0; font-family: var(--display); font-weight: 800;
}
.ticker__row { display: flex; width: max-content; white-space: nowrap; }
.ticker__row span {
  font-size: clamp(22px, 3.6vw, 42px); line-height: 1; letter-spacing: -.01em; padding-right: .5em;
}
.ticker__row em { font-style: normal; color: var(--gold); }
.ticker__row--a { animation: ticker 32s linear infinite; }
.ticker__row--b { animation: ticker 38s linear infinite reverse; }
.ticker__row--b span { color: transparent; -webkit-text-stroke: 1.4px var(--paper); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 7. Sections ---------- */
.sec { padding: 44px 0; border-bottom: 1px solid var(--ink); }
.sec:last-child { border-bottom: 0; }
.sec-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 24px; }
.sec-h h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1; }
.sec-h .lead__title { margin: 0; }
.sec-h p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- 8. Lead / hero ---------- */
.lead {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid var(--ink);
}
.lead h1, .lead__title {
  font-family: var(--serif); font-weight: 900; line-height: 1.02;
  font-size: clamp(34px, 5.2vw, 60px); margin-bottom: 16px;
}
.deck { font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); color: var(--muted); margin-bottom: 16px; }
.byline {
  font-size: 13px; color: var(--muted); padding: 8px 0; margin-bottom: 22px;
  border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
}

/* ---------- 9. Terminal ---------- */
.term {
  background: var(--term-bg); color: var(--term-text); border-radius: 10px;
  padding: 18px; font-family: var(--mono); font-size: 13.5px; line-height: 1.6;
  min-height: 320px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.term__bar { display: flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.term__bar i:nth-child(2) { background: #ffbd2e; }
.term__bar i:nth-child(3) { background: #27c93f; }
.term__bar b { margin-left: auto; font-weight: 400; font-size: 11px; color: var(--term-muted); }
.term__lines li { min-height: 1.6em; white-space: pre-wrap; }
.js .term__lines li { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.js .term__lines li.is-on { opacity: 1; transform: none; }
.t-g { color: var(--term-green); } .t-y { color: var(--term-yellow); }
.t-b { color: var(--term-blue); } .t-r { color: var(--term-red); } .t-m { color: var(--term-muted); }
.cursor {
  display: inline-block; width: 9px; height: 1.1em; background: var(--term-green);
  vertical-align: -3px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.caption { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- 10. Pillars (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 0 26px; border-left: 1px solid var(--rule-soft); display: flex; flex-direction: column; }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar__num { font-family: var(--mono); font-size: 13px; color: var(--red); font-weight: 700; }
.pillar h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; margin: 6px 0 10px; }
.pillar p { font-size: 15px; margin-bottom: 12px; }
.pillar--lead h3 { font-size: clamp(28px, 3vw, 36px); }
.pillar .link { margin-top: auto; padding-top: 10px; }

.ticks li { padding: 6px 0; border-top: 1px dotted var(--rule-dot); font-size: 14px; }
.ticks li::before { content: "› "; color: var(--red); font-weight: 800; }

/* ---------- 11. Case files ---------- */
.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.file {
  position: relative; background: var(--paper-3); border: 1px solid var(--ink);
  padding: 22px; box-shadow: 4px 4px 0 var(--paper-2); display: flex; flex-direction: column;
}
.file::before {
  content: ""; position: absolute; top: -10px; left: 18px; width: 70px; height: 10px;
  background: #e2d7bd; border: 1px solid var(--ink); border-bottom: 0;
}
.file__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-family: var(--mono); font-size: 11.5px; }
.stamp {
  padding: 2px 8px; border: 1.5px solid; transform: rotate(-3deg);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.stamp--ok { color: var(--green); }
.stamp--done { color: var(--red); }
.file h3 { font-family: var(--serif); font-size: 21px; line-height: 1.15; margin-bottom: 10px; }
.file p { font-size: 14px; margin-bottom: 8px; color: #333; }
.file__tools {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  border-top: 1px dotted var(--rule-dot); padding-top: 8px; margin: auto 0 6px;
}
.file .link { font-size: 13px; }

/* ---------- 12. Editor / about ---------- */
.ed { display: grid; grid-template-columns: 220px 1fr 300px; gap: 32px; align-items: start; }
.portrait__frame {
  aspect-ratio: 3 / 4; border: 1px solid var(--ink);
  background: repeating-linear-gradient(45deg, #e2d7bd 0 8px, var(--paper-2) 8px 16px);
  display: grid; place-items: center; text-align: center; padding: 12px;
}
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--ink); filter: grayscale(.15) contrast(1.05); }
.portrait figcaption { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); margin-top: 6px; }
.ed__text h3 { font-family: var(--serif); font-weight: 900; font-size: 28px; line-height: 1.1; margin-bottom: 12px; }
.ed__text p { font-size: 15.5px; margin-bottom: 12px; }

.press {
  border: 2px solid var(--ink); background: var(--paper-3); font-size: 13px;
  transform: rotate(1.2deg); box-shadow: 5px 5px 0 var(--paper-2);
}
.press__head {
  background: var(--ink); color: var(--gold); font-family: var(--mono); font-weight: 700;
  letter-spacing: .14em; padding: 8px 14px; font-size: 12px;
}
.press dl { padding: 8px 14px 12px; }
.press dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 800; margin-top: 8px; }
.press dd { font-weight: 600; }
.press__foot { border-top: 1px dashed var(--ink); padding: 8px 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---------- 13. CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.cta-band blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; }
.cta-band p { margin-bottom: 18px; }

/* ---------- 14. Footer: stopka redakcyjna ---------- */
.end { background: var(--ink); color: var(--paper); padding: 36px 0 22px; overflow: hidden; }
.end .ticker__row span { font-size: clamp(34px, 6vw, 76px); letter-spacing: -.03em; font-family: var(--display); font-weight: 800; }
.end a { text-decoration: none; }
.end a:hover { text-decoration: underline; }
.colophon {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0;
  margin-top: 30px; border-top: 4px double #57524a; border-bottom: 1px solid #3a3a3a;
}
.colophon > section { padding: 22px 22px 24px; border-left: 1px solid #3a3a3a; }
.colophon > section:first-child { border-left: 0; padding-left: 0; }
.colophon h2 {
  font-family: var(--serif); font-weight: 800; font-size: 20px; margin-bottom: 12px; color: #fff;
}
.colophon h2 small { display: block; font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.colophon dl { font-size: 14px; }
.colophon dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a49c8c; margin-top: 8px; }
.colophon dt:first-child { margin-top: 0; }
.colophon dd { color: #f4efe3; }
.colophon li { padding: 4px 0; font-size: 14.5px; }
.colophon .btn { margin-top: 14px; padding: 10px 16px; font-size: 14px; }
.weather {
  border: 1px solid #57524a; padding: 14px; font-size: 14px; color: #d8d1c2;
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.03) 22px 23px);
}
.weather b { display: block; font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .08em; margin-bottom: 6px; }
.weather p + p { margin-top: 6px; }
.end .todo { color: #ff9a92; }
.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12.5px; color: #a49c8c; padding-top: 18px;
}
.foot ul { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__note { font-family: var(--serif); font-style: italic; }

/* ---------- 14b. Formularz ---------- */
.contact-page { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper-3);
  border: 1.5px solid var(--ink); border-radius: 0; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; font-weight: 700; min-height: 1.5em; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: var(--red); }
.form button[disabled] { opacity: .6; cursor: wait; }
.side-note { border: 1px solid var(--ink); background: var(--paper-3); padding: 22px; }
.side-note h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.side-note p { font-size: 15px; margin-bottom: 10px; }

/* ---------- 14c. Tekst prawny ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: 24px; margin: 30px 0 10px; }
.prose p, .prose li { margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 22px; }


/* ---------- 14d. Mini-test ---------- */
.quiz-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: end; }
.quiz-head .lead__title { margin-bottom: 12px; }
.quiz-note { border: 1px solid var(--ink); background: var(--paper-3); padding: 16px 18px; font-size: 14.5px; }
.quiz-note b { display: block; font-family: var(--mono); font-size: 12px; color: var(--green); margin-bottom: 6px; letter-spacing: .06em; }
.quiz-step__title { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.quiz-step__title span { display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--paper); background: var(--ink); padding: 3px 8px; margin-right: 10px; vertical-align: 6px; }
.quiz-step > p { margin-bottom: 18px; max-width: 760px; }
.quiz-prompt { margin-bottom: 26px; }
.quiz-prompt textarea { min-height: 90px; font-family: var(--mono); font-size: 14.5px; background: var(--term-bg); color: var(--term-text); border-color: var(--term-bg); }
.q { border: 0; border-top: 1px dotted var(--rule-dot); padding: 16px 0; }
.q legend { font-weight: 700; font-size: 16.5px; padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.q legend + label { clear: left; }
.q label { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 9px 14px; border: 1.5px solid var(--ink); background: var(--paper-3); cursor: pointer; font-size: 15px; }
.q label:hover { background: var(--paper-2); }
.q input { accent-color: var(--ink); width: 18px; height: 18px; }
.q label:has(input:checked) { background: var(--ink); color: var(--paper); }
.q label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.q.is-missing legend { color: var(--red); }
.q.is-missing legend::after { content: " *"; }
.quiz-submit { margin-top: 22px; }
.quiz-result { border-top: 4px double var(--ink); }
.quiz-result:focus { outline: none; }
.quiz-score { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; margin: 10px 0 26px; }
.quiz-score__num { font-family: var(--serif); line-height: 1; border: 2px solid var(--ink); padding: 18px 22px; text-align: center; background: var(--paper-3); transform: rotate(-2deg); box-shadow: 5px 5px 0 var(--paper-2); }
.quiz-score__num b { display: block; font-size: clamp(64px, 10vw, 110px); font-weight: 800; }
.quiz-score__num span { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.is-low .quiz-score__num b { color: var(--red); }
.is-mid .quiz-score__num b { color: #9a6a00; }
.is-high .quiz-score__num b { color: var(--green); }
.quiz-verdict { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; margin-bottom: 10px; }
.quiz-sub { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.quiz-gaps { list-style: none; counter-reset: gap; margin-bottom: 26px; }
.quiz-gaps li { counter-increment: gap; position: relative; padding: 14px 0 14px 48px; border-top: 1px dotted var(--rule-dot); }
.quiz-gaps li::before { content: counter(gap, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--mono); font-weight: 700; color: var(--red); }
.quiz-cta { background: var(--ink); color: var(--paper); padding: 26px; }
.quiz-cta p { margin-bottom: 18px; max-width: 760px; }
.quiz-cta .btn { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.quiz-cta .btn:hover { background: #fff; border-color: #fff; }
.quiz-cta .btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.quiz-cta .btn--ghost:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) { .quiz-head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .quiz-score { grid-template-columns: 1fr; } .quiz-score__num { justify-self: start; } .q label { width: 100%; } }


/* ---------- 14e. Narzędzia i sklep ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { position: relative; border: 1px solid var(--ink); background: var(--paper-3); padding: 20px; display: flex; flex-direction: column; box-shadow: 4px 4px 0 var(--paper-2); }
.tool-card h3 { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin: 6px 0 8px; }
.tool-card h3 a { text-decoration: none; }
.tool-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tool-card:hover { background: #fff; }
.tool-card:focus-within { outline: 3px solid var(--red); outline-offset: 2px; }
.tool-card p { font-size: 14.5px; color: #333; margin-bottom: 10px; }
.tool-card .link { margin-top: auto; }
.tool-card__tag { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.tool-card--lead { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--gold); }
.tool-card--lead:hover { background: #2a2a2a; }
.tool-card--lead p { color: #d8d1c2; }
.tool-card--lead .tool-card__tag { color: var(--gold); }

.tool-form .q { max-width: 900px; }
.tool-form .form { margin: 8px 0 14px; }
.field.is-missing label { color: var(--red); }
.label { font-weight: 700; font-size: 15px; }
.rows { display: grid; gap: 8px; margin-bottom: 10px; }
.row { display: grid; grid-template-columns: 1fr 120px 150px auto; gap: 8px; align-items: center; }
.row input, .row select { font: inherit; border: 1.5px solid var(--ink); background: var(--paper-3); padding: 10px 12px; width: 100%; }
button.link { background: none; border: 0; padding: 4px; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; color: var(--red); }

.tool-result { border-top: 4px double var(--ink); }
.tool-result:focus { outline: none; }
.tool-result h3 { font-family: var(--serif); font-size: 22px; margin: 22px 0 8px; }
.tool-result p { margin-bottom: 10px; max-width: 820px; }
.tool-pre { white-space: pre-wrap; font-family: var(--mono); font-size: 14px; line-height: 1.6; background: var(--paper-3); border: 1px solid var(--ink); padding: 18px; max-width: 880px; overflow-x: auto; }
.tool-badge { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border: 2px solid; transform: rotate(-1.5deg); margin: 6px 0 14px; }
.tool-badge--ok { color: var(--green); }
.tool-badge--mid { color: #8a5d00; }
.tool-badge--bad { color: var(--red); }
.tool-big { font-family: var(--serif); font-size: 22px; }
.tool-big b { font-size: clamp(48px, 8vw, 84px); font-weight: 800; line-height: 1; margin-right: 8px; }
.tool-actions { margin-top: 22px; }
.tool-alert { border-left: 4px solid var(--red); background: #fbe9e6; padding: 14px 16px; margin: 6px 0 16px; max-width: 880px; font-size: 15px; }
.tool-src { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 12px; max-width: 820px; }
.ticks--warn li::before { content: "! "; }
.steps-list { list-style: none; counter-reset: st; max-width: 880px; }
.steps-list li { counter-increment: st; position: relative; padding: 10px 0 10px 40px; border-top: 1px dotted var(--rule-dot); }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px; display: grid; place-items: center; }
.tool-upsell { margin: 10px 0 44px; background: var(--ink); color: var(--paper); padding: 26px; }
.tool-upsell h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; color: #fff; }
.tool-upsell p { margin-bottom: 16px; color: #d8d1c2; }
.tbl-wrap { position: relative; overflow-x: auto; width: 100%; max-width: calc(100vw - 2 * var(--gutter)); }
.tbl { min-width: 560px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--ink); padding: 8px; }
.tbl td { border-bottom: 1px dotted var(--rule-dot); padding: 8px; }
.tbl .num { text-align: right; font-family: var(--mono); }
.tool-total { font-family: var(--serif); font-weight: 800; font-size: 20px; margin: 14px 0 6px; }

.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { border: 2px solid var(--ink); background: var(--paper-3); padding: 24px; display: flex; flex-direction: column; scroll-margin-top: 20px; }
.product:target { box-shadow: 0 0 0 4px var(--gold); }
.product__tag { align-self: flex-start; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; margin-bottom: 10px; }
.product h3 { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin-bottom: 6px; }
.product .product__price { font-family: var(--serif); font-weight: 800; font-size: 44px; line-height: 1; margin: 6px 0 12px; }
.product > p { font-size: 15px; margin-bottom: 12px; }
.product .ticks { margin-bottom: 18px; }
.product .btn { margin-top: auto; text-align: center; }
@media (max-width: 900px) { .tool-grid, .shop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tool-grid, .shop { grid-template-columns: 1fr; } .row { grid-template-columns: 1fr 1fr; } .row input[name=desc] { grid-column: 1 / -1; } }

/* ---------- 14f. Darmowy wabik i najczęściej kupowane ---------- */
.free-hook { border-bottom: 0; }
.free-hook__in { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--ink); color: var(--paper); padding: 28px; box-shadow: 6px 6px 0 var(--gold); }
.free-hook h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; margin-bottom: 10px; color: #fff; }
.free-hook p { color: #d8d1c2; max-width: 720px; }
.free-hook .kicker { color: var(--gold); }
.product .product__price small { font-size: 18px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.bestsellers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bestseller { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 1.5px solid var(--ink); background: var(--paper-3); padding: 16px 18px; text-decoration: none; }
.bestseller:hover { background: #fff; }
.bestseller b { font-family: var(--serif); font-size: 19px; }
.bestseller span { font-family: var(--serif); font-weight: 800; font-size: 26px; white-space: nowrap; }
@media (max-width: 900px) { .free-hook__in, .bestsellers { grid-template-columns: 1fr; } }


/* ---------- 14g. Sklep jak marketplace ---------- */
.shop-head { border-bottom: 0; padding-bottom: 10px; }
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: inherit; font-size: 14px; font-weight: 600; border: 1.5px solid var(--ink); background: var(--paper-3); padding: 7px 14px; border-radius: 99px; cursor: pointer; }
.chip:hover { background: #fff; }
.chip.is-on { background: var(--ink); color: var(--paper); }
.gigs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.gig { display: flex; flex-direction: column; }
.gig[hidden] { display: none; }
.gig__link { display: block; text-decoration: none; }
.gig__link:hover .cover { transform: translateY(-2px); box-shadow: 4px 6px 0 var(--paper-2); }
.gig__body { padding: 10px 2px 0; display: flex; flex-direction: column; flex: 1; }
.gig__seller { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--serif); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: 0 0 auto; }
.gig__hot { margin-left: auto; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.gig__title { font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.gig__title a { text-decoration: none; }
.gig__title a:hover { text-decoration: underline; }
.gig__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule-soft); padding-top: 8px; font-size: 13px; color: var(--muted); }
.gig__meta b { font-family: var(--serif); font-size: 19px; color: var(--ink); }

.cover { position: relative; aspect-ratio: 16 / 10; border: 1.5px solid var(--ink); overflow: hidden; background: var(--paper-3); transition: transform .15s, box-shadow .15s; }
.cover::before { content: ""; position: absolute; inset: 10px; border-top: 3px double currentColor; border-bottom: 1px solid currentColor; opacity: .35; }
.cover__a { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-weight: 800; font-size: clamp(42px, 5vw, 64px); line-height: 1; }
.cover__b { position: absolute; right: 8%; bottom: 18%; font-family: var(--mono); font-weight: 700; font-size: 14px; padding: 4px 8px; border: 1.5px solid currentColor; transform: rotate(-4deg); }
.cover__brand { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-family: var(--serif); font-weight: 800; font-size: 11px; letter-spacing: .02em; }
.cover--google { background: var(--ink); color: var(--paper); }
.cover--google .cover__b { color: var(--gold); }
.cover--video { background: var(--red); color: #fff; }
.cover--web { background: var(--paper-2); color: var(--ink); }
.cover--apps { background: var(--term-bg); color: var(--term-green); }
.cover--uk { background: #1f2f4a; color: #f4efe3; }
.cover--foto { background: #f7f4ec; color: var(--ink); }
.gig-group { margin-top: 34px; }
.gig-group:first-child { margin-top: 8px; }
.gig-group[hidden] { display: none; }
.gig-group__lead { color: var(--muted); max-width: 62ch; margin: -6px 0 18px; }
.cover--img::before { display: none; }
.cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover--big { aspect-ratio: 16 / 8; margin: 18px 0 8px; }
.cover--big .cover__a { font-size: clamp(64px, 9vw, 120px); }
.cover--big .cover__b { font-size: 18px; }
.cover--big .cover__brand { font-size: 14px; top: 20px; }

.gig-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding: 26px 0 30px; }
.gig-page__title { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 4px 0 12px; }
.gig-sec { padding: 22px 0; border-top: 1px solid var(--rule-soft); }
.gig-sec h2 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; }
.gig-sec p { margin-bottom: 10px; max-width: 760px; }
.gig-side { position: sticky; top: 16px; }
.pkg-box { border: 2px solid var(--ink); background: var(--paper-3); display: flex; flex-wrap: wrap; }
.pkg-radio { position: absolute; opacity: 0; pointer-events: none; }
.pkg-tab { flex: 1 1 33%; text-align: center; padding: 12px 6px; font-weight: 700; font-size: 14px; cursor: pointer; border-bottom: 2px solid var(--rule-soft); color: var(--muted); }
.pkg-radio:checked + .pkg-tab { color: var(--ink); border-bottom: 3px solid var(--ink); }
.pkg-radio:focus-visible + .pkg-tab { outline: 3px solid var(--red); outline-offset: -3px; }
.pkg-panel { display: none; width: 100%; padding: 20px; }
#pkg-0:checked ~ .pkg-panel--0, #pkg-1:checked ~ .pkg-panel--1, #pkg-2:checked ~ .pkg-panel--2 { display: block; }
.pkg-name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.pkg-name b { font-size: 17px; }
.pkg-price { font-family: var(--serif); font-weight: 800; font-size: 32px; }
.pkg-meta { display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.pkg-panel .ticks { margin-bottom: 18px; }
.pkg-panel .btn { display: block; text-align: center; }
.pkg-ask { margin-top: 16px; text-align: center; font-size: 14px; }
.pkg-ask p { margin-bottom: 8px; color: var(--muted); }
@media (max-width: 1100px) { .gigs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .gigs { grid-template-columns: 1fr 1fr; } .gig-page { grid-template-columns: 1fr; } .gig-side { position: static; } }
@media (max-width: 520px) { .gigs { grid-template-columns: 1fr; } }

/* ---------- 15. Subpages: services grid ---------- */
.crumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.crumb a { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.svc { padding: 22px 20px; border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.svc:nth-child(3n) { border-right: 0; padding-right: 0; }
.svc:nth-child(3n+1) { padding-left: 0; }
.svc__tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 6px; }
.svc h2, .svc h3 { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.svc p { font-size: 14px; color: #333; margin-bottom: 10px; }
.svc--alt { background: var(--paper-2); padding-left: 20px !important; }

.insert {
  margin-top: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px;
  border: 3px double var(--ink); padding: 26px; background: var(--paper-2);
}
.insert__tag { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 12px; }
.insert h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; margin-bottom: 10px; }
.insert p { margin-bottom: 18px; }
.insert__list li { padding: 10px 0; border-bottom: 1px solid var(--rule-dot); font-size: 14px; color: var(--muted); }
.insert__list b { display: block; color: var(--ink); font-family: var(--serif); font-size: 18px; }

/* subscriptions */
.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sub { border: 1px solid var(--ink); padding: 22px; background: var(--paper-3); }
.sub h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.sub__for { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 800; display: block; margin-bottom: 10px; }
.sub li { padding: 5px 0; border-top: 1px dotted var(--rule-dot); font-size: 14px; }
.sub li::before { content: "✓ "; color: var(--red); font-weight: 800; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; font-style: italic; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--red); font-weight: 700; }
.step h3 { font-family: var(--serif); font-size: 22px; margin: 4px 0 8px; }
.step p { font-size: 14.5px; }
.pill { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); padding: 2px 8px; }

/* guarantees */
.guar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.guar > div { padding: 22px; border-right: 1px solid var(--rule-soft); }
.guar > div:last-child { border-right: 0; }
.guar h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.guar p { font-size: 14px; color: #333; }

/* faq */
.faq { columns: 2; column-gap: 36px; column-rule: 1px solid var(--rule-soft); }
.faq details { break-inside: avoid; padding: 12px 0; border-bottom: 1px dotted var(--rule-dot); }
.faq summary { font-family: var(--serif); font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--red); }
.faq details[open] summary::before { content: "− "; }
.faq p { font-size: 14.5px; margin-top: 6px; color: #333; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--ink); padding: 8px 14px; font-size: 14px; font-weight: 600; background: var(--paper-3); }
.chips li:nth-child(3n) { background: var(--ink); color: var(--paper); }

/* ---------- 16. AI page ---------- */
.front { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; }
.front__tag { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); margin-bottom: 14px; }
.front p { margin-bottom: 12px; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; font-size: 14px; }
.mods li { padding: 8px 0; border-top: 1px dotted var(--rule-dot); }
.mods li b { display: block; font-family: var(--serif); font-size: 16px; }
.promise { background: var(--ink); color: var(--paper); padding: 18px 20px; margin-top: 8px; }
.promise h2 { color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; font-family: var(--sans); }

.demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.demo h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; margin-bottom: 12px; }
.demo p { margin-bottom: 12px; }

.phone {
  width: 290px; max-width: 100%; margin: 0 auto; background: #111; border-radius: 42px;
  padding: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); position: relative;
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #111; border-radius: 12px; z-index: 2; }
.phone__screen { background: #f7f5f0; border-radius: 32px; padding: 46px 14px 12px; font-size: 12.5px; min-height: 560px; display: flex; flex-direction: column; gap: 8px; }
.app-top { display: flex; justify-content: space-between; align-items: baseline; }
.app-top b { font-family: var(--serif); font-size: 20px; }
.app-card { background: #fff; border-radius: 14px; padding: 12px; border: 1px solid #e6e0d2; }
.app-card small { display: block; color: #5c5650; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.app-card b { font-size: 15px; }
.app-card--dark { background: var(--ink); color: #fff; border: 0; }
.app-card--dark small { color: #bbb; }
.app-card--warn { border-color: var(--gold); background: #fff8e4; }
.app-bar { height: 6px; background: #333; border-radius: 9px; margin: 8px 0 4px; }
.app-bar i { display: block; height: 100%; width: 70%; background: var(--gold); border-radius: 9px; }
.app-row { display: flex; justify-content: space-between; background: #fff; border-radius: 10px; padding: 9px 12px; border: 1px solid #eee; }
.app-row em { font-style: normal; font-weight: 700; color: var(--green); }
.app-btn { display: inline-block; margin-top: 8px; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; }
.app-nav { margin-top: auto; display: flex; justify-content: space-around; border-top: 1px solid #e6e0d2; padding-top: 10px; font-size: 11.5px; color: #5c5650; }
.app-nav .on { color: var(--ink); font-weight: 800; }

/* ---------- 17. Dark "pro" section ---------- */
.pro { background: var(--term-bg); color: #e6e1d6; padding: 52px 0; }
.pro .kicker { color: var(--term-green); font-family: var(--mono); letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 13px; }
.pro h1 { font-family: var(--serif); font-weight: 900; color: #fff; line-height: 1.02; font-size: clamp(32px, 5vw, 58px); margin: 10px 0 14px; max-width: 920px; }
.pro h1 i { color: var(--gold); }
.pro .deck { color: #b9b2a3; max-width: 760px; margin-bottom: 30px; }
.edition { display: inline-block; border: 1px solid var(--gold); color: var(--gold); font-family: var(--mono); font-size: 12px; padding: 4px 10px; margin-bottom: 18px; }

.vs { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 36px; }
.vs th { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--term-line); }
.vs th:first-child { color: var(--term-red); }
.vs th:last-child { color: var(--term-green); }
.vs td { padding: 12px; border-bottom: 1px solid #21262d; vertical-align: top; width: 50%; }
.vs td:first-child { color: var(--term-muted); text-decoration: line-through; text-decoration-color: rgba(255, 123, 114, .55); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { border: 1px solid var(--term-line); padding: 24px; background: var(--term-bg-2); display: flex; flex-direction: column; }
.tier--top { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.tier__lv { font-family: var(--mono); font-size: 12px; color: var(--term-muted); }
.tier h2 { font-family: var(--serif); font-size: 24px; color: #fff; margin: 6px 0 4px; }
.tier__fmt { font-size: 13px; color: var(--gold); margin-bottom: 12px; }
.tier p { font-size: 14px; color: #b9b2a3; margin-bottom: 12px; }
.tier ul { font-size: 13.5px; margin-bottom: 18px; }
.tier li { padding: 5px 0; border-top: 1px solid #21262d; }
.tier li::before { content: "> "; color: var(--term-green); font-family: var(--mono); }
.tier .btn { margin-top: auto; text-align: center; background: transparent; color: #e6e1d6; border-color: #e6e1d6; }
.tier .btn:hover { background: #e6e1d6; color: var(--ink); }
.tier--top .btn { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.extras > div { border: 1px dashed var(--term-line); padding: 18px; }
.extras h2 { color: #fff; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.extras p { font-size: 14px; color: #b9b2a3; }
.pro__small { font-size: 12.5px; color: var(--term-muted); margin-top: 20px; font-family: var(--mono); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1000px) {
  .ed { grid-template-columns: 1fr 1fr; }
  .ed__text { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 900px) {
  .lead, .cta-band, .front, .demo, .insert { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .pillar, .pillar:first-child { padding: 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--rule-soft); padding-top: 24px; }
  .files, .grid3, .subs { grid-template-columns: 1fr 1fr; }
  .svc, .svc:nth-child(3n), .svc:nth-child(3n+1) { padding: 18px 14px; border-right: 1px solid var(--rule-soft); }
  .grid3 .svc:nth-child(2n) { border-right: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .guar, .tiers, .extras, .contact-page { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: 1fr 1fr; }
  .colophon > section:nth-child(3) { border-left: 0; padding-left: 0; }
  .colophon > section { border-top: 1px solid #3a3a3a; }
  .guar > div { border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .faq { columns: 1; }
}
@media (max-width: 600px) {
  .strip .hide-sm { display: none; }
  .nav ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-right: 40px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav li { flex: 0 0 auto; }
  .files, .grid3, .subs, .steps, .mods, .ed, .form, .colophon { grid-template-columns: 1fr; }
  .colophon > section { border-left: 0; padding-left: 0; padding-right: 0; }
  .svc, .svc:nth-child(3n), .svc:nth-child(3n+1) { border-right: 0; padding: 18px 0; }
  .svc--alt { padding: 18px 14px !important; }
  .portrait { max-width: 240px; }
  .press { transform: none; }
  .vs td, .vs th { padding: 10px 6px; font-size: 13px; }
  .term { font-size: 12.5px; min-height: 0; }
}

/* ---------- 19. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__row--a, .ticker__row--b, .cursor { animation: none; }
  .js .term__lines li { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   v4 · gazeta + kod, ale lżej: białe tło, mniej ozdób, 4 działy
   ========================================================= */
:root { --paper: #fdfcf9; --paper-2: #f3f1ec; --paper-3: #ffffff; --rule-soft: #e2ddd2; }
.mast { padding: 18px 0 8px; }
.mast__title { font-size: clamp(30px, 5vw, 60px); }
.mast--small .mast__title { font-size: clamp(24px, 3.6vw, 40px); }
.mast__motto { font-size: clamp(13px, 1.6vw, 16px); }
.nav { border-top: 1px solid var(--ink); }
.sec { border-bottom: 1px solid var(--rule-soft); }
.btn { border-radius: 3px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.cover__brand { letter-spacing: .02em; }

/* Działy (drzwi) */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.door { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 24px; text-decoration: none; border-right: 1px solid var(--rule-soft); transition: background .15s; }
.door:last-child { border-right: 0; }
.door:hover { background: var(--paper-2); }
.door__num { font-family: var(--mono); font-size: 13px; color: var(--red); }
.door__path { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.door h3 { font-family: var(--serif); font-weight: 800; font-size: 25px; line-height: 1.1; }
.door p { font-size: 15px; }
.door__list { color: var(--muted); font-size: 13.5px !important; }
.door__go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; }
.door:hover .door__go { text-decoration: underline; text-underline-offset: 4px; }

/* Strona działu */
.path { font-family: var(--mono); font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.path .cursor { display: inline-block; width: 8px; height: 15px; background: var(--muted); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.branch-head p:last-child { max-width: 62ch; }
.more { margin-top: 22px; }
.pricelist li { border-bottom: 1px solid var(--rule-soft); }
.pricelist li:first-child { border-top: 1px solid var(--rule-soft); }
.pricelist a { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 14px 0; text-decoration: none; }
.pricelist a:hover .pl__name { text-decoration: underline; text-underline-offset: 4px; }
.pl__name { font-weight: 600; }
.pl__price { white-space: nowrap; font-weight: 700; font-size: 14px; }
.branch-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-bottom: 0; }
.branch-foot h2 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; }
.branch-foot p { margin-bottom: 14px; color: var(--muted); }
.doors-mini li { padding: 6px 0; border-bottom: 1px dotted var(--rule-dot); }
.doors-mini a { text-decoration: none; font-weight: 600; }
.doors-mini a:hover { color: var(--red); }

@media (max-width: 1000px) { .doors { grid-template-columns: 1fr 1fr; } .door:nth-child(2) { border-right: 0; } .door:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } .door { border-right: 0; border-bottom: 1px solid var(--rule-soft); } .branch-foot { grid-template-columns: 1fr; } }
.form-error { background: #fdecea; border-left: 4px solid var(--red); padding: 12px 16px; margin: 0 0 18px; }
.more-fields { border: 1px solid var(--rule-soft); padding: 14px 16px; }
.more-fields summary { cursor: pointer; font-weight: 700; }
.more-fields[open] summary { margin-bottom: 14px; }

.btn--off { background: var(--paper-2); color: var(--muted); border-color: var(--rule-soft); cursor: default; }
.tbl .num { font-family: var(--sans); font-weight: 700; }
.pkg-price { font-family: var(--serif); }

/* =========================================================
   v5 · profesjonalnie i czysto. Bez gazety.
   ========================================================= */
:root { --paper: #ffffff; --paper-2: #f5f4f0; --paper-3: #ffffff; --rule-soft: #e4e1da; --radius: 6px; }
body { background: #fff; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--rule-soft); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); } }
.top__in { display: flex; align-items: center; gap: 12px 28px; min-height: 66px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -.01em; text-decoration: none; line-height: 1; white-space: nowrap; }
.brand span { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.top .nav { border: 0; margin-left: auto; }
.top .nav ul { justify-content: flex-end; padding: 0; gap: 4px 20px; text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 600; }
.top .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.top .nav a:hover { color: var(--red); }
.lang { font-size: 13px; }
.lang [aria-current="true"] { border-radius: 4px; }
.sec { border-bottom: 1px solid var(--rule-soft); padding: 52px 0; }
.sec-h h2 { font-weight: 700; }
.lead h1, .lead__title { font-weight: 700; }
.btn { border-radius: var(--radius); }
.kicker { color: var(--muted); }
.lead { padding-top: 48px; }
.caption { color: var(--muted); }
.doors { border-top: 1px solid var(--rule-soft); }
.door h3 { font-weight: 700; }
.door__num { color: var(--muted); }
.file { border-radius: var(--radius); border-color: var(--rule-soft); }
.file::before { display: none; }
.file__head span:first-child { font-family: var(--sans); color: var(--muted); }
.press { transform: none; box-shadow: none; border: 1px solid var(--rule-soft); border-radius: var(--radius); background: var(--paper-2); color: var(--ink); }
.press__head { background: transparent; color: var(--muted); border-bottom: 1px solid var(--rule-soft); font-family: var(--sans); letter-spacing: .12em; }
.press dt { color: var(--muted); }
.press__foot { color: var(--muted); border-top: 1px solid var(--rule-soft); }
.cta-band { border-radius: var(--radius); }
.gig .cover { border-radius: var(--radius); }
.cover__brand { display: none; }
.gig__title a { font-weight: 700; }
.pkg-box { border-radius: var(--radius); overflow: hidden; }
.free-hook, .free-hook__in { border-radius: var(--radius); }
.gig-group__lead { font-size: 16px; }
.tbl .num { font-family: var(--sans); font-weight: 700; }
.end { background: var(--paper-2); color: var(--ink); padding: 48px 0 24px; border-top: 1px solid var(--rule-soft); }
.colophon { grid-template-columns: 1.4fr 1fr 1fr; border: 0; margin-top: 0; }
.colophon > section { border-left: 0; padding: 0 28px 24px 0; }
.colophon h2 { color: var(--ink); font-size: 20px; }
.colophon dt { color: var(--muted); }
.colophon dd { color: var(--ink); }
.end__motto { color: var(--muted); font-size: 15px; margin-bottom: 16px; max-width: 34ch; }
.end .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.end .todo { color: var(--red); }
.foot { color: var(--muted); border-top: 1px solid var(--rule-soft); }
.form-error { border-radius: var(--radius); }
@media (max-width: 900px) {
  .top__in { flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; }
  .top .nav { order: 3; width: 100%; margin-left: 0; }
  .top .nav ul { flex-wrap: wrap; justify-content: flex-start; gap: 4px 14px; padding-bottom: 6px; font-size: 13.5px;
    overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
  .lang { margin-left: auto; }
  .colophon { grid-template-columns: 1fr; }
}

.cover--bezp { background: #1d3b33; color: #f4efe3; }

/* twarz z linii */
.twarz { position: relative; aspect-ratio: 3 / 4; background: #f7f2e6; }
.twarz img { width: 100%; height: 100%; object-fit: cover; display: block; }
.twarz__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.twarz--live img { visibility: hidden; }

/* okładki grawer: ruch (druk przy wejściu, przechylenie i zbliżenie przy najechaniu) */
.cover--img { overflow: hidden; perspective: 900px; }
.cover--img img { transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; transform-origin: 50% 60%; will-change: transform; }
.gig__link:hover .cover--img img, .gig__link:focus-visible .cover--img img { transform: scale(1.05); filter: contrast(1.08); }
.js-ruch .cover--img img { clip-path: inset(0 100% 0 0); }
.js-ruch .cover--img.is-in img { animation: ahs-druk 1.15s cubic-bezier(.65,.05,.25,1) var(--d, 0s) forwards; }
@keyframes ahs-druk {
  0% { clip-path: inset(0 100% 0 0); filter: contrast(1.8) brightness(1.25); }
  70% { filter: contrast(1.15) brightness(1.05); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
.cover--img::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); }
.gig__link:hover .cover--img::after { opacity: 1; transform: translateX(120%); transition: transform .9s ease, opacity .2s; }
.cover--img { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .js-ruch .cover--img img { clip-path: none; animation: none; }
  .cover--img img, .cover--img::after { transition: none; }
}

/* Pasek: kto prowadzi studio */
.osoba { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line, #ddd); border-bottom: 1px solid var(--line, #ddd); }
.osoba__foto { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.osoba__txt { flex: 1; min-width: 0; }
.osoba__imie { font-weight: 800; margin: 0 0 4px; }
.osoba__fakty { margin: 0; color: var(--muted, #555); font-size: 15px; }
@media (max-width: 640px) { .osoba { flex-wrap: wrap; } .osoba__foto { width: 72px; height: 72px; } .osoba .btn { width: 100%; text-align: center; } }

/* Safe Business Kit: druga, mniejsza ramka (plik za £9) */
.pkg-mini { margin-top: 16px; }
.pkg-mini .pkg-panel p:not(.pkg-name):not(.pkg-meta) { font-size: 14px; margin: 8px 0 12px; }
.pkg-box > .pkg-panel:only-child { display: block; }
