/* Kampania od A do Z: system wyglądu marki KWIATEKmedia.
   Tokeny: strona/01_UKLAD_I_DESIGN.md i kurs/05_DESIGN_PANELU_KURSANTA.md.
   Pomarańcz logo (#FF6B00) ma kontrast 2,9:1 z bielą, więc na pomarańczowych przyciskach tekst jest grafitowy (6,3:1).
   Pomarańczowy tekst na jasnym tle używa ciemniejszego odcienia #B84D00 (4,9:1). */

:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #5C5C5C;
  --accent: #FF6B00;
  --accent-hover: #F26500;
  --on-accent: #111111;
  --action: #B84D00;
  --action-hover: #8F3C00;
  --action-soft: #FFF1E6;
  --accent-light: #FF8A33;
  --dark: #171717;
  --dark-2: #242424;
  --success: #1F7A4D;
  --success-soft: #E8F5EF;
  --warn: #8A5800;
  --warn-soft: #FFF5DD;
  --error: #B42318;
  --error-soft: #FDECEA;
  --line: #E6E2D8;
  --line-soft: #EFECE5;
  --radius: 14px;
  --radius-sm: 10px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 80px;
  --shadow: 0 1px 2px rgba(23, 23, 23, .05), 0 6px 20px rgba(23, 23, 23, .06);
  --shadow-lg: 0 18px 50px rgba(23, 23, 23, .16);
  --font: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --card-border: #EDEAE3;
  --card-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  --t: 160ms ease;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--bg); }
@media (max-width: 600px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s2); letter-spacing: -0.015em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem); }
h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.section-dark :focus-visible, .continue-card :focus-visible, .doc-card-dark :focus-visible { outline-color: var(--accent-light); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s2); top: -100px; background: var(--surface); padding: var(--s1) var(--s2); z-index: 100; border-radius: var(--radius-sm); }
.skip:focus { top: var(--s2); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 64ch; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--action); margin-bottom: var(--s1); }
.loading { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.proto-bar { margin: 0; padding: 6px var(--s2); background: var(--warn-soft); color: #5C3D00; font-size: .8rem; text-align: center; border-bottom: 1px solid #F0DDB0; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 44px; padding: 10px 20px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background var(--t), border-color var(--t), color var(--t), transform var(--t); text-align: center; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: #CFCAC1; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #333; color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); padding-inline: 12px; }
.btn-quiet:hover { background: var(--line-soft); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(23, 23, 23, .45); }
.btn-ghost-dark:hover { background: rgba(23, 23, 23, .06); color: var(--ink); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--action); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; min-height: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: var(--s3) 0 var(--s2); }
.actions-center { justify-content: center; }

/* ---------- Karty, komunikaty, odznaki ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.card + .card { margin-top: var(--s2); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s1); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.4; margin: 0; }
.badge .icon { width: 16px; height: 16px; }
.badge-neutral { background: var(--line-soft); color: var(--muted); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: var(--s2); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin: var(--s2) 0; }
.notice > .icon { margin-top: 3px; }
.notice-title { font-weight: 700; margin-bottom: 4px; }
.notice-ok { background: var(--success-soft); border-color: #B6DECB; }
.notice-ok > .icon { color: var(--success); }
.notice-warn { background: var(--warn-soft); border-color: #F0DDB0; }
.notice-warn > .icon { color: var(--warn); }
.notice-error { background: var(--error-soft); border-color: #F5C2BD; }
.notice-error > .icon { color: var(--error); }
.notice-info > .icon { color: var(--action); }
.inline-notice { display: block; font-size: .95rem; }
.placeholder { background: var(--warn-soft); color: #5C3D00; padding: 4px 8px; border-radius: 6px; }

/* ---------- Formularze ---------- */
.field { margin-bottom: var(--s2); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select, .input-suffix input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #CFCAC1; border-radius: var(--radius-sm); background: var(--surface); font-size: 1rem;
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus, .input-suffix input:focus { border-color: var(--action); outline: 3px solid rgba(255, 107, 0, .3); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.field-hint { color: var(--muted); font-size: .875rem; margin: 6px 0 0; }
.input-suffix { position: relative; display: flex; align-items: center; }
.input-suffix input { padding-right: 44px; }
.input-suffix span { position: absolute; right: 14px; color: var(--muted); pointer-events: none; font-size: .95rem; }
.input-sm input { min-height: 44px; min-width: 7.5ch; padding: 8px 34px 8px 10px; }
.input-sm span { right: 10px; }
.field-grid { display: grid; gap: 0 var(--s3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--action); }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s2); min-width: 0; }
.question { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; padding: 0; line-height: 1.4; }
.question-sm { font-weight: 700; margin-bottom: 8px; padding: 0; font-size: 1rem; }
.choices { display: grid; gap: 10px; }
.choices.compact { gap: 8px; margin-top: var(--s2); }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; min-height: 48px; transition: border-color var(--t), background var(--t); }
.choice:hover { border-color: #D9A27A; }
.choice:has(input:checked) { border-color: var(--action); background: var(--action-soft); }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--action); }
.choice-sm { padding: 8px 12px; min-height: 44px; }
.subfields { padding: var(--s2); border-left: 3px solid var(--line); margin: 4px 0 0 var(--s1); }

/* ---------- Powłoka panelu ---------- */
.app-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.app-header-inner { max-width: 1240px; margin: 0 auto; padding: 10px var(--s3); display: flex; align-items: center; gap: var(--s3); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 700; min-height: 44px; }
.brand-logo { display: block; height: 40px; width: auto; }
.brand-name { font-size: .95rem; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.app-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.app-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; min-height: 44px; }
.app-nav a:hover { background: var(--line-soft); color: var(--ink); }
.app-nav a.is-active { color: var(--action); background: var(--action-soft); }
.account { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.account-email { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .app-header-inner { flex-wrap: wrap; gap: 8px; padding: 8px var(--s2); }
  .menu-btn:not([hidden]) { display: inline-flex; margin-left: auto; }
  .account { order: 3; width: 100%; justify-content: space-between; display: none; }
  .app-nav { order: 4; width: 100%; display: none; }
  .app-nav.is-open { display: block; }
  .app-nav.is-open ~ .account { display: flex; }
  .app-nav ul { flex-direction: column; padding: 4px 0 8px; }
  .app-nav a { width: 100%; }
  .brand-name { display: none; }
  .brand-logo { height: 34px; }
}

main:focus { outline: none; }
.page { max-width: 1160px; margin: 0 auto; padding: var(--s4) var(--s3) var(--s5); }
@media (max-width: 600px) { .page { padding: var(--s3) var(--s2) var(--s5); } }
.narrow { max-width: 640px; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; gap: var(--s3); align-items: flex-start; flex-wrap: wrap; margin-bottom: var(--s3); }
.back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: .95rem; min-height: 44px; }
.form-card { margin-top: var(--s3); }
.demo-box { border-style: dashed; margin-top: var(--s3); }

/* ---------- Mój kurs ---------- */
.dash-grid { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; }
@media (max-width: 960px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-main > * + * { margin-top: var(--s3); }
.dash-side .card + .card, .dash-side .card + .btn { margin-top: var(--s2); }
.dash-side > .btn { margin-top: var(--s2); }
.continue-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: var(--s4); }
.continue-card .eyebrow { color: var(--accent-light); }
.continue-title { font-size: 1.6rem; margin-bottom: var(--s1); }
.continue-step { color: #D4D4D4; margin-bottom: var(--s3); }

.continue-card.is-done { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.continue-card.is-done .eyebrow { color: var(--success); }
.progress { height: 10px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin: 8px 0 12px; }
.progress-bar { display: block; height: 100%; width: 0; background: var(--success); border-radius: 999px; transition: width 300ms ease; }
.progress-text { margin-bottom: 4px; }
.link-sm { font-size: .9rem; font-weight: 600; }

.campaign-map { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.stage { display: flex; gap: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.stage.is-filled { border-style: solid; border-color: #B6DECB; background: var(--success-soft); }
.stage-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.stage.is-filled .stage-num { background: var(--success); border-color: var(--success); color: #fff; }
.stage-num .icon { width: 16px; height: 16px; }
.stage-label { font-weight: 700; font-size: .95rem; margin: 0 0 2px; }
.stage-empty { color: var(--muted); font-size: .85rem; margin: 0; }
.stage-items { list-style: none; margin: 0; padding: 0; font-size: .85rem; }

/* ---------- Moduły i lekcje ---------- */
.module-group { margin-top: var(--s4); }
.module-list, .lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.module-row, .lesson-row { display: flex; align-items: center; gap: var(--s2); padding: 14px var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); min-height: 64px; transition: border-color var(--t); }
a.module-row:hover, a.lesson-row:hover { border-color: var(--action); color: var(--ink); }
.module-num { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--line-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }
.module-info, .lesson-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.module-title, .lesson-name { font-weight: 700; }
.module-outcome, .lesson-artifact { color: var(--muted); font-size: .9rem; }
.module-status { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.module-status.has-lessons { color: var(--action); font-weight: 600; }
.lesson-row.is-disabled { background: var(--bg); color: var(--muted); border-style: dashed; }
.lesson-state { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; border: 2px solid var(--line); color: var(--muted); }
.lesson-state .icon { width: 18px; height: 18px; }
.state-ukonczona.lesson-state { background: var(--success); border-color: var(--success); color: #fff; }
.state-w_toku.lesson-state { border-color: var(--action); color: var(--action); }
.status-pill { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--line-soft); color: var(--muted); }
.pill-ukonczona { background: var(--success-soft); color: var(--success); }
.pill-w_toku { background: var(--action-soft); color: var(--action); }
@media (max-width: 600px) {
  .module-row, .lesson-row { flex-wrap: wrap; }
  .module-status, .status-pill { margin-left: 52px; }
}

/* ---------- Lekcja ---------- */
.lesson-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s4); max-width: 1240px; margin: 0 auto; padding: var(--s3) var(--s3) var(--s5); }
.lesson-layout.toc-collapsed { grid-template-columns: minmax(0, 1fr); }
.lesson-layout.toc-collapsed .toc-wrap { display: none; }
.toc-wrap { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; }
.toc { font-size: .92rem; }
.toc-title { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc-module { margin-bottom: 6px; }
.toc-module-link { display: block; padding: 6px 8px; border-radius: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.toc-module-link:hover { background: var(--line-soft); color: var(--ink); }
.toc-module ul { padding-left: 8px; }
.toc-lesson { display: flex; gap: 8px; align-items: flex-start; padding: 7px 8px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1.4; min-height: 36px; }
a.toc-lesson:hover { background: var(--line-soft); color: var(--ink); }
.toc-lesson.is-active { background: var(--action-soft); color: var(--action); font-weight: 600; }
.toc-lesson.is-disabled { opacity: .75; }
.toc-dot { flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.toc-dot .icon { width: 12px; height: 12px; stroke-width: 3; }
.toc-dot.state-ukonczona { background: var(--success); border-color: var(--success); color: #fff; }
.toc-dot.state-w_toku { border-color: var(--action); }
.toc-all { display: inline-block; margin-top: var(--s1); font-weight: 600; padding: 6px 8px; }
.lesson-tools { display: flex; gap: 8px; justify-content: space-between; margin-bottom: var(--s1); }
.toc-toggle { display: none; }
@media (max-width: 960px) {
  .lesson-layout { grid-template-columns: minmax(0, 1fr); padding: var(--s2) var(--s2) var(--s5); gap: var(--s2); }
  .toc-wrap { display: none; position: static; max-height: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s2); order: 0; }
  .toc-wrap.is-open { display: block; }
  .toc-toggle { display: inline-flex; }
  .toc-collapse { display: none; }
  .lesson-layout.toc-collapsed .toc-wrap.is-open { display: block; }
}

.lesson { max-width: 820px; position: relative; }
.lesson-topbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s2); }
.lesson-topbar .save-status { margin-left: auto; }
.save-status { margin: 0; font-size: .875rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.save-status.is-ok { color: var(--success); }
.save-status.is-error { color: var(--error); font-weight: 600; }
.lesson-header { margin-bottom: var(--s3); }
.lesson-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: 12px; }
.lesson-objective { font-size: 1.1rem; max-width: 64ch; }
.lesson-meta { display: flex; flex-direction: column; gap: 2px; font-size: .875rem; color: var(--muted); margin: 12px 0; }
.lesson-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: var(--s2); max-width: 70ch; }
.panel-note .icon { color: var(--action); margin-top: 2px; }

.stepper { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: 12px; scroll-margin-top: 80px; }
.step-counter { margin: 0; font-weight: 700; font-size: .95rem; color: var(--muted); }
.step-dots { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.dot { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: border-color var(--t), background var(--t); }
.dot:hover { border-color: var(--action); }
.dot.is-task { border-style: dashed; }
.dot.is-current { border-color: var(--accent); border-style: solid; background: var(--accent); color: var(--on-accent); }
.dot.is-done { border-color: var(--success); border-style: solid; background: var(--success-soft); color: var(--success); }
.dot.is-done.is-current { background: var(--success); color: #fff; }
.dot .icon { width: 18px; height: 18px; stroke-width: 2.5; }
@media (max-width: 600px) { .step-dots { gap: 4px; } }

.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); }
@media (max-width: 600px) { .step-card { padding: var(--s3) var(--s2); } }
.step-title { font-size: 1.4rem; margin-bottom: var(--s2); }
.step-title:focus { outline: none; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--s3); flex-wrap: wrap; }
.step-nav .btn-primary { margin-left: auto; }
@media (max-width: 600px) { .step-nav .btn { flex: 1 1 100%; } .step-nav .btn-primary { order: -1; } }
.prose { max-width: 68ch; }

.example-card, .checklist-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s2) var(--s3); margin: var(--s3) 0; max-width: 68ch; }
.example-title { font-weight: 700; margin-bottom: 4px; }
.example-note { font-size: .875rem; color: var(--muted); }
.calc-rows { margin: 12px 0 0; }
.calc-row { display: flex; justify-content: space-between; gap: var(--s2); padding: 8px 0; border-top: 1px solid var(--line-soft); }
.calc-row dt { color: var(--ink); }
.calc-row dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 480px) { .calc-row { flex-wrap: wrap; gap: 2px 16px; } .calc-row dd { margin-left: auto; } }
.calc-row.is-strong { border-top: 2px solid var(--ink); }
.calc-row.is-strong dt, .calc-row.is-strong dd { font-weight: 800; }
.checklist { margin: 8px 0 0; padding-left: 1.4em; }
.checklist li { margin-bottom: 6px; }

details.why { margin: var(--s2) 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); max-width: 68ch; }
details.why > summary { display: flex; gap: 10px; align-items: center; padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--action); list-style: none; min-height: 44px; }
details.why > summary::-webkit-details-marker { display: none; }
details.why[open] > summary { border-bottom: 1px solid var(--line-soft); }
details.why > :not(summary) { padding: 12px 16px; margin: 0; }

.table-wrap { overflow-x: auto; margin: var(--s3) 0; -webkit-overflow-scrolling: touch; }
.data-table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--surface); }
.data-table caption { text-align: left; font-size: .875rem; color: var(--muted); padding-bottom: 8px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { font-size: .85rem; color: var(--muted); border-bottom: 2px solid var(--line); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.th-formula { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.metrics td { min-width: 120px; }
.cell-fb { display: block; font-size: .8rem; margin-top: 4px; min-height: 1.2em; }
.cell-fb.is-ok { color: var(--success); font-weight: 600; }
.cell-fb.is-bad { color: var(--error); font-weight: 600; }
.fix-list { margin: 8px 0 0; padding-left: 1.2em; font-size: .95rem; }

.feedback { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin: 12px 0; border: 1px solid var(--line); background: var(--bg); max-width: 68ch; }
.feedback p { margin: 0; }
.feedback-title { font-weight: 700; margin-bottom: 2px !important; }
.feedback-icon { margin-top: 2px; }
.feedback-ok { background: var(--success-soft); border-color: #B6DECB; }
.feedback-ok .feedback-icon { color: var(--success); }
.feedback-bad { background: var(--error-soft); border-color: #F5C2BD; }
.feedback-bad .feedback-icon { color: var(--error); }
.feedback-info .feedback-icon { color: var(--action); }
.retry-note { font-size: .9rem; color: var(--muted); }
.explanations { margin: 0; padding-left: 1.2em; }
.explanations li { margin-bottom: 8px; }
.explanations .is-correct strong { color: var(--success); }
.expl-fb { display: block; }
.context-box { background: var(--warn-soft); border: 1px solid #F0DDB0; border-radius: var(--radius-sm); padding: var(--s2); margin-bottom: var(--s3); max-width: 68ch; }
.context-title { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--warn); margin-bottom: 6px; }

.hint-wrap { margin: var(--s2) 0; }
.hint { display: flex; gap: 10px; align-items: flex-start; background: var(--action-soft); border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 8px; max-width: 68ch; }
.hint .icon { color: var(--action); margin-top: 3px; }
.hint p { margin: 0; }
.inline-status { font-size: .9rem; color: var(--muted); margin: 8px 0 0; min-height: 1.4em; }
.inline-status.is-ok { color: var(--success); font-weight: 600; }
.inline-status.is-error { color: var(--error); font-weight: 600; }
.privacy-note { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.privacy-note .icon { width: 18px; height: 18px; margin-top: 3px; }

.result-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: var(--s2) 0; }
.tile { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s2); background: var(--bg); }
.tile-accent { background: var(--action-soft); border-color: #F6C9A6; }
.tile-label { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.tile-value { font-size: 1.75rem; font-weight: 800; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.tile-note { font-size: .82rem; color: var(--muted); }
.calc-results { margin-top: var(--s2); }

.sort-list { list-style: none; margin: var(--s2) 0; padding: 0; display: grid; gap: 12px; }
.sort-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.sort-item fieldset { margin: 0; }
.sort-text { font-weight: 600; margin-bottom: 8px; padding: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; min-height: 44px; font-size: .95rem; }
.seg:has(input:checked) { border-color: var(--action); background: var(--action-soft); color: var(--action); font-weight: 600; }
.seg input { accent-color: var(--action); width: 18px; height: 18px; margin: 0; }
.sort-feedback .feedback { margin: 8px 0 0; padding: 10px 12px; font-size: .92rem; }

.hs-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--s3); align-items: start; margin-top: var(--s2); }
@media (max-width: 760px) { .hs-layout { grid-template-columns: minmax(0, 1fr); } }
.hs-figure { margin: 0; }
.hs-figure figcaption { margin-top: 8px; }
.hs-stage { position: relative; border-radius: 18px; box-shadow: var(--shadow); max-width: 360px; margin: 0 auto; }
.hs-img { display: block; width: 100%; height: auto; border-radius: 18px; }
.hs-point { position: absolute; background: transparent; border: 2px dashed transparent; border-radius: 10px; cursor: pointer; padding: 0; transition: background var(--t), border-color var(--t); }
.hs-point:hover { border-color: rgba(184, 77, 0, .7); background: rgba(255, 107, 0, .07); }
.hs-point:focus-visible { outline: 3px solid var(--action); outline-offset: -3px; }
.hs-point.is-found { border: 2px solid var(--success); background: rgba(20, 125, 84, .1); }
.hotspot-progress { font-weight: 700; }
.hs-list { margin-top: var(--s2); }
.hs-list-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-list-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; min-height: 44px; cursor: pointer; font-size: .92rem; }
.hs-list-btn:hover { border-color: var(--action); }
.hs-list-btn.is-found { border-color: var(--success); background: var(--success-soft); color: var(--success); font-weight: 600; }
.zoom-dialog { border: 0; border-radius: var(--radius); padding: var(--s2); max-width: min(96vw, 560px); max-height: 94vh; box-shadow: var(--shadow-lg); }
.zoom-dialog::backdrop { background: rgba(16, 28, 46, .6); }
.zoom-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; font-size: .875rem; color: var(--muted); }
.zoom-head p { margin: 0; }
.zoom-img { display: block; width: 100%; height: auto; }

.builder-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s2) var(--s3); margin: var(--s2) 0; }
.builder-row legend { font-weight: 700; padding: 0 8px; }
@media (max-width: 600px) { .builder-row { padding: var(--s2); } }

.simulator .sim-badge { border-radius: var(--radius-sm); padding: 10px 12px; margin: var(--s2) 0; align-items: flex-start; font-weight: 500; }
.sim-tracker { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: 6px; font-size: .95rem; }
.sim-tracker li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.sim-tracker li.is-done { color: var(--success); font-weight: 600; }
.phone { max-width: 380px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); margin: var(--s2) 0; }
.phone-head { display: flex; align-items: center; gap: 10px; background: var(--dark); color: #fff; padding: 12px 16px; font-weight: 700; }
.phone-logo { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; }
.phone-body { padding: var(--s2); font-size: .95rem; }
.phone-body .field label, .sim-q legend { font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.sim-q { display: grid; gap: 6px; margin-bottom: var(--s2); }
.phone-ending { text-align: center; padding: var(--s4) var(--s2); }
.ending-icon { width: 40px; height: 40px; color: var(--action); margin-bottom: 8px; }
.ending-title { font-weight: 700; font-size: 1.1rem; }

.prompt-box { white-space: pre-wrap; background: var(--dark); color: #E6ECF6; border-radius: var(--radius-sm); padding: var(--s2); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9rem; line-height: 1.55; max-width: 72ch; }

.summary .result-card { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3); border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.summary .result-card.is-done { background: var(--success-soft); border-color: #B6DECB; }
.result-icon { width: 32px; height: 32px; color: var(--action); flex: none; }
.result-card.is-done .result-icon { color: var(--success); }
.result-title { font-weight: 800; font-size: 1.2rem; margin-bottom: 4px; }
.req-list { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: 8px; }
.req-list li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.req-list li.is-done { color: var(--success); font-weight: 600; }
.summary-dl { margin: var(--s3) 0; display: grid; gap: 12px; }
.summary-dl div { border-left: 3px solid var(--line); padding-left: 12px; }
.summary-dl dt { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.summary-dl dd { margin: 2px 0 0; }

.help-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--surface); box-shadow: var(--shadow-lg); z-index: 50; overflow-y: auto; padding: var(--s3); border-left: 1px solid var(--line); }
.help-panel h2 { font-size: 1.3rem; margin: 0; }
.help-panel h3 { font-size: 1rem; margin: var(--s3) 0 8px; }
.help-panel p { font-size: .95rem; }
.help-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: calc(-1 * var(--s3)); background: var(--surface); padding: 8px 0; }
.glossary div { margin-bottom: 10px; }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 600px) {
  .help-panel { top: auto; left: 0; width: 100vw; max-height: 85vh; border-radius: 16px 16px 0 0; border-left: 0; padding: var(--s2); }
  .help-head { top: calc(-1 * var(--s2)); }
}

/* ---------- Moja kampania, pomoc ---------- */
.stage-section { margin-top: var(--s4); }
.artifact-title { font-size: 1.1rem; margin-bottom: 2px; }
.artifact-label { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--warn); background: var(--warn-soft); border-radius: 8px; padding: 8px 12px; }
.artifact-label .icon { width: 18px; height: 18px; margin-top: 2px; }
.artifact-fields { margin: var(--s2) 0 0; display: grid; gap: 0; }
.artifact-fields div { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: var(--s2); padding: 10px 0; border-top: 1px solid var(--line-soft); }
.artifact-fields dt { color: var(--muted); font-size: .92rem; }
.artifact-fields dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .artifact-fields div { grid-template-columns: 1fr; gap: 2px; } }
.missing-list { columns: 2 200px; padding-left: 1.2em; }
.help-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: var(--s4); align-items: start; }
@media (max-width: 960px) { .help-grid { grid-template-columns: 1fr; } }
.help-grid aside .card + .card { margin-top: var(--s2); }
.search-field input { min-height: 52px; }
.material-list { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: 12px; }
.material { display: flex; justify-content: space-between; gap: var(--s2); align-items: flex-start; margin: 0 !important; }
.material-name { font-size: 1.05rem; margin-bottom: 4px; }
@media (max-width: 600px) { .material { flex-direction: column; } }
details.faq { border-bottom: 1px solid var(--line); }
details.faq > summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); min-height: 44px; }
details.faq > summary::after { content: "+"; color: var(--action); font-size: 1.3rem; line-height: 1; }
details.faq[open] > summary::after { content: "−"; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > p { padding-bottom: var(--s2); color: var(--ink); max-width: 68ch; }

/* ---------- Skrzynka demonstracyjna ---------- */
.mailbox-main { max-width: 760px; margin: 0 auto; padding: var(--s4) var(--s2); }
.mail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); margin: var(--s2) 0; }
.mail .meta { font-size: .85rem; color: var(--muted); }
.mail pre { white-space: pre-wrap; font-family: var(--font); font-size: .95rem; margin: 0; overflow-wrap: anywhere; }

/* ---------- Strona sprzedażowa: jedna długa strona, jeden CTA ----------
   System: ciepły papier #F6F4EF, białe karty, tekst #111, jeden pomarańcz #FF6B00 tylko w CTA i markerach.
   Zielony #1F7A4D wyłącznie przy checkmarkach. */
.lp { background: var(--bg); }
.lp h1, .lp h2, .lp h3, .lp h4 { font-family: var(--font-display); color: var(--ink); }
.lp .icon { stroke-width: 1.6; }
.lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 728px; }
@media (max-width: 600px) { .lp-wrap { padding: 0 16px; } }
.fineprint { font-size: .85rem; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); flex: none; }
.lp mark { background: var(--accent); color: var(--on-accent); padding: 0 .18em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pill-hl { background: var(--action-soft); color: var(--ink); border: 1px solid #F7C9A4; border-radius: 999px; padding: 1px 10px; font-weight: 600; white-space: nowrap; }

/* CTA: jedyny nasycony obiekt */
.btn-cta { gap: 10px; border-radius: 13px; font-weight: 650; }
.btn-cta:hover { background: var(--accent-hover); }
.btn-xl { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); border-radius: 13px; }
.btn-ghost:hover { color: var(--ink); border-color: #CFC9BC; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2B2B2B; color: #fff; }

/* 0. Sticky pasek-pigułka */
.lp-header { position: sticky; top: 0; z-index: 30; padding: 10px 16px; background: linear-gradient(var(--bg) 70%, rgba(246, 244, 239, 0)); }
.lp-pill { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .94); border: 1px solid var(--card-border); border-radius: 999px; box-shadow: var(--card-shadow); padding: 6px 6px 6px 20px; backdrop-filter: saturate(1.2) blur(6px); }
.lp-logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.lp-logo img { display: block; height: 44px; width: auto; }
.lp-course { margin: 0 auto; font-weight: 700; font-size: .95rem; text-align: center; }
.lp-course span { color: var(--muted); font-weight: 500; }
.lp-header-cta { min-height: 46px; padding: 8px 20px; border-radius: 999px; }
@media (max-width: 760px) {
  .lp-header { padding: 8px 10px; }
  .lp-pill { padding: 4px 4px 4px 14px; gap: 8px; }
  .lp-course { display: none; }
  .lp-logo img { height: 36px; }
  .lp-header-cta { margin-left: auto; font-size: .92rem; padding: 8px 14px; }
}

/* 1. Hero */
.lp-hero { position: relative; padding: 36px 0 72px; background:
  linear-gradient(to bottom, rgba(246, 244, 239, 0) 70%, var(--bg)),
  repeating-linear-gradient(0deg, rgba(17, 17, 17, .045) 0 1px, transparent 1px 32px),
  repeating-linear-gradient(90deg, rgba(17, 17, 17, .045) 0 1px, transparent 1px 32px), var(--bg); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.125rem, 1.35rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 20px; }
.lp-lead { font-size: 1.12rem; line-height: 1.65; color: #2E2E2E; max-width: 58ch; margin-bottom: 20px; }
.chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 600; }
.chips li::before { content: "✓"; color: var(--success); font-weight: 800; font-size: .8rem; }
.lp-price-row { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.lp-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.lp-price strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.lp-price span { color: var(--muted); font-weight: 600; }
.lp-price-net { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.lp-risk { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.lp-hero-visual { position: relative; }
.mock-back { position: absolute; inset: -18px -10px auto 30px; transform: rotate(3deg); background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--card-shadow); padding: 20px; height: 250px; opacity: .95; }
.mock-label { font-weight: 800; font-size: .85rem; margin-bottom: 10px; }
.mock-row { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; border-top: 1px dashed var(--line); padding-top: 8px; margin: 10px 0 0; color: var(--muted); }
.mock-row b { color: var(--ink); }
.mini-map { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-map li { font-size: .75rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.mini-map li.is-done { background: var(--success); border-color: var(--success); color: #fff; font-weight: 700; }
@media (max-width: 960px) {
  .lp-hero { padding: 20px 0 48px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .mock-back { display: none; }
}
@media (max-width: 600px) {
  .lp-hero h1 { font-size: 1.95rem; line-height: 1.12; letter-spacing: -0.03em; }
  .lp-hero .kicker { font-size: .68rem; letter-spacing: .05em; }
  .chips li:nth-child(n+5) { display: none; }
  .lp-lead { font-size: 1.02rem; }
  .chips { gap: 6px; }
  .chips li { font-size: .8rem; padding: 4px 10px; }
  .lp-price strong { font-size: 2.3rem; }
  .lp-hero .btn-xl { width: 100%; }
  .proto-bar { font-size: .72rem; padding: 4px 12px; }
}

/* Twarz w hero i podpis autora */
.hero-face { position: absolute; top: -34px; right: -8px; width: 54%; margin: 0; transform: rotate(3deg); z-index: 0; }
.hero-face img { display: block; width: 100%; height: auto; border-radius: 20px; border: 8px solid #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .14); }
.lp-hero-visual .demo-card { z-index: 1; margin: 190px 18% 0 0; }
@media (max-width: 1100px) { .lp-hero-visual .demo-card { margin-right: 10%; } }
@media (max-width: 960px) { .hero-face { display: none; } .lp-hero-visual .demo-card { margin: 0; } }
.lp-by { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.lp-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); flex: none; }
.lp-by b { color: var(--ink); }

/* Film */
.lp-film { background: var(--surface); padding-top: 72px; }
.video-frame { max-width: 1040px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--card-border); box-shadow: 0 24px 60px rgba(0, 0, 0, .12); background: var(--bg); aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-note { max-width: 760px; margin: 16px auto 0; text-align: center; font-size: .85rem; color: var(--muted); }

/* Trzy koncepty */
.concepts { margin: 8px 0 56px; }
.concepts-head { max-width: 720px; margin-bottom: 20px; }
.concepts-head p { color: var(--muted); }
.concepts-grid { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.concepts-grid li { background: var(--surface); border: 1px solid var(--card-border); border-radius: 18px; padding: 10px; box-shadow: var(--card-shadow); }
.concepts-grid img { display: block; width: 100%; height: auto; border-radius: 12px; }
.concepts-grid span { display: block; padding: 10px 6px 4px; font-size: .92rem; color: var(--muted); }
.concepts-grid b { color: var(--ink); margin-right: 6px; }
@media (max-width: 760px) {
  .concepts-grid { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .concepts-grid li { scroll-snap-align: start; }
}

/* Autor ze zdjęciem */
.author-photo { margin: 0; }
.author-photo img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--card-shadow); }
.author-photo figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.author-lead { font-size: 1.08rem; line-height: 1.65; }

/* Demonstracja A/B */
.demo-card { position: relative; background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; padding: 26px; box-shadow: 0 18px 48px rgba(0, 0, 0, .10); transform: rotate(-1deg); }
.demo-card:focus { outline: none; }
.demo-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 960px) { .demo-card { transform: none; } }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.demo-tag { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.demo-time { font-size: .78rem; color: var(--muted); }
.lp .demo-title { font-size: 1.28rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 16px; }
.ad-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-option { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--bg); cursor: pointer; transition: border-color var(--t), background var(--t); color: var(--ink); }
.ad-option:hover { border-color: #C9C2B3; }
.ad-option[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); }
.ad-option.is-correct { border-color: var(--success); background: #EEF6F1; }
.ad-option.is-chosen:not(.is-correct) { border-color: var(--error); background: var(--error-soft); }
.ad-head { display: flex; align-items: center; gap: 10px; }
.ad-letter { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.ad-name { display: flex; flex-direction: column; font-weight: 750; line-height: 1.2; }
.ad-name small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.ad-stats { display: grid; gap: 2px; font-size: .9rem; color: #333; }
.ad-pick { font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.ad-pick::after { content: " →"; }
.demo-result { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.demo-verdict { font-weight: 750; padding-left: 30px; position: relative; }
.demo-verdict:focus { outline: none; }
.demo-verdict::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: #fff; }
.demo-verdict.is-ok::before { content: "✓"; background: var(--success); }
.demo-verdict.is-miss::before { content: "!"; background: var(--error); }
.compare { display: grid; gap: 10px; margin: 14px 0; }
.compare-row { display: grid; grid-template-columns: 118px 1fr 1fr; gap: 10px; align-items: end; }
.compare-label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.compare-val { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.bar { display: block; height: 10px; width: 0; border-radius: 999px; transition: width 520ms cubic-bezier(.2, .7, .2, 1); }
.bar-a { background: #9A9384; }
.bar-b { background: var(--ink); }
.demo-lesson { font-size: .95rem; }
.demo-note { font-size: .8rem; color: var(--muted); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 600px) {
  .demo-card { padding: 18px; border-radius: 18px; }
  .lp .demo-title { font-size: 1.1rem; }
  .ad-option { padding: 12px; gap: 8px; }
  .ad-stats { font-size: .84rem; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-label { grid-column: 1 / -1; }
}

/* 2. Pas konkretów */
.lp-proof { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.proof-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof-strip li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 3px solid var(--line); }
.proof-strip strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.proof-strip span { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.proof-strip sup a { color: var(--muted); text-decoration: none; font-weight: 700; }
.proof-note { font-size: .82rem; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 860px) { .proof-strip { grid-template-columns: 1fr 1fr; gap: 18px; } }

/* Sekcje: rytm tła */
.lp-section { padding: 104px 0; }
@media (max-width: 760px) { .lp-section { padding: 64px 0; } }
.lp-white { background: var(--surface); }
.lp-warm { background: #EFEBE3; }
.lp-paper { background: var(--bg); }
.lp-head { max-width: 720px; margin-bottom: 40px; }
.lp-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-head-center .kicker { justify-content: center; }
.lp h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.lp h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); font-weight: 700; }
.lp-sub { font-size: 1.05rem; color: var(--muted); }
.lp-narrow p { font-size: 1.08rem; line-height: 1.7; }

/* 3. Dla kogo */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit-col { background: var(--bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 28px; }
.fit-col h3 { margin-bottom: 14px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-col li { position: relative; padding-left: 30px; line-height: 1.5; }
.fit-col li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; }
.fit-yes li::before { content: "✓"; background: var(--success); color: #fff; }
.fit-no li::before { content: "✕"; background: #E3DED3; color: var(--ink); }

/* 4. Problem */
.pain-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.pain-list li { background: var(--surface); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 16px 12px 44px; position: relative; font-size: 1rem; }
.pain-list li::before { content: "•"; position: absolute; left: 16px; color: var(--muted); font-weight: 800; }
.stake { font-size: 1.15rem !important; font-weight: 600; }

/* 5. Porównanie */
.calc-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--card-shadow); padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; margin-bottom: 24px; }
@media (max-width: 900px) { .calc-card { grid-template-columns: 1fr; gap: 24px; padding: 22px 18px; } }
.calc-controls fieldset { margin: 0 0 20px; }
.calc-controls legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn { display: inline-flex; flex-direction: column; align-items: flex-start; min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-weight: 700; cursor: pointer; text-align: left; }
.seg-btn small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.seg-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg-btn[aria-pressed="true"] small { color: #D6D6D6; }
.calc-out { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.calc-bar-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; }
.calc-bar-label { font-size: .9rem; color: var(--muted); font-weight: 600; }
.calc-track { height: 14px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.calc-bar { display: block; height: 100%; border-radius: 999px; transition: width 420ms cubic-bezier(.2, .7, .2, 1); }
.calc-bar-agency { background: #9A9384; }
.calc-bar-course { background: var(--ink); }
.calc-bar-row b { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }
.calc-diff { font-weight: 700; font-size: 1.05rem; margin: 6px 0 0; }
.calc-note { font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .calc-bar-row { grid-template-columns: 1fr auto; } .calc-track { grid-column: 1 / -1; grid-row: 2; } }
.vs-table-wrap { overflow-x: auto; margin-bottom: 24px; }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; font-size: .98rem; }
.vs-table th, .vs-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.vs-table tr:last-child th, .vs-table tr:last-child td { border-bottom: 0; }
.vs-table thead th { font-family: var(--font-display); font-size: 1rem; background: var(--bg); }
.vs-table tbody th { width: 26%; color: var(--muted); font-weight: 600; font-size: .92rem; }
.vs-table td:last-child { font-weight: 600; }
@media (max-width: 600px) {
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: 100%; }
  .vs-table thead { display: none; }
  .vs-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
  .vs-table th, .vs-table td { padding: 2px 0; border: 0; }
  .vs-table tbody th { width: auto; }
  .vs-table td:nth-of-type(1)::before { content: "Agencja: "; color: var(--muted); font-weight: 500; }
  .vs-table td:nth-of-type(2)::before { content: "Kurs: "; color: var(--muted); font-weight: 500; }
}
.enough { background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; padding: 28px; max-width: 860px; }
.enough p { font-size: 1.05rem; }

/* 6. Metoda */
.method-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-bottom: 36px; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; } }
.old-way { background: var(--bg); border: 1px dashed #CFC9BC; border-radius: 20px; padding: 26px; }
.old-way ul { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }
.old-way li { text-decoration: line-through; text-decoration-color: rgba(92, 92, 92, .5); }
.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: st; position: relative; background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: var(--card-shadow); padding: 18px 20px 18px 72px; }
.steps li::before { content: "0" counter(st); position: absolute; left: 20px; top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.lp .steps h3 { font-size: 1.08rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.milestones { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.milestones li { border-top: 3px solid var(--ink); padding-top: 14px; font-size: 1rem; }
.milestones span { display: block; font-weight: 800; font-family: var(--font-display); margin-bottom: 4px; }
@media (max-width: 760px) { .milestones { grid-template-columns: 1fr; } }

/* Pokaz nauki (zakładki) */
.lp .showcase-title { font-size: 1.4rem; margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs [role=tab] { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.tabs [role=tab]:hover { border-color: #C9C2B3; }
.tabs [role=tab][aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-num { width: 28px; height: 28px; border-radius: 50%; background: var(--line-soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
[aria-selected="true"] .tab-num { background: #fff; color: var(--ink); }
.tab-panel { background: var(--bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 32px; }
.panel-intro { max-width: 68ch; margin-bottom: 20px; }
.panel-source { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.live-title { font-size: 1.2rem; margin: 8px 0 12px; }
@media (min-width: 1100px) {
  .tab-panel:not(#panel-rezultat) { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
  .tab-panel:not(#panel-rezultat) .panel-intro { position: sticky; top: 110px; margin: 0; }
  .tab-panel:not(#panel-rezultat) .live-title { margin-top: 0; }
  .tab-panel:not(#panel-rezultat) .panel-live { padding-left: 36px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .tab-panel { padding: 18px 14px; border-radius: 16px; }
  .tabs { flex-wrap: nowrap; gap: 6px; }
  .tabs [role=tab] { flex: 1 1 0; justify-content: center; padding: 8px 6px; font-size: .88rem; min-width: 0; }
  .tabs .tab-num { display: none; }
  .panel-source { text-transform: none; letter-spacing: 0; font-size: .8rem; }
}
.result-demo { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.doc-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px; box-shadow: var(--card-shadow); }
.doc-type { font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.doc-rows { margin: 0; }
.doc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: .92rem; }
.doc-rows dt { color: var(--muted); }
.doc-rows dd { margin: 0; font-weight: 700; text-align: right; }
.doc-rows em { font-weight: 500; color: var(--warn); font-style: normal; }
.doc-rows .is-strong dd { font-size: 1.05rem; }
.doc-list { margin: 0; padding-left: 1.2em; font-size: .95rem; font-weight: 600; display: grid; gap: 8px; }
.doc-list span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.full-exercise { margin-top: 20px; padding: 20px 24px; border: 1px dashed #CFC9BC; border-radius: 16px; background: var(--surface); }
.full-exercise:focus { outline: none; }
.full-exercise-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.full-exercise h4 { font-size: 1.05rem; margin-bottom: 4px; }
.full-exercise p { color: var(--muted); font-size: .95rem; max-width: 62ch; margin: 0; }
.sample-frame { margin-top: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: var(--s4); }
@media (max-width: 600px) { .sample-frame { padding: 16px 12px; } .full-exercise { padding: 16px; } .full-exercise-row .btn { width: 100%; } }

/* 7. Program: drabina efektów */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ladder { grid-template-columns: 1fr; gap: 8px; } }
.mod { background: var(--surface); border: 1px solid var(--card-border); border-radius: 18px; box-shadow: var(--card-shadow); }
.mod > summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 20px 20px 12px; cursor: pointer; }
.mod > summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) { .mod > summary { cursor: default; pointer-events: none; } }
@media (max-width: 899px) { .mod > summary { padding: 16px; } .mod > summary::after { content: "+"; grid-column: 3; font-size: 1.4rem; line-height: 1; color: var(--muted); } .mod[open] > summary::after { content: "−"; } .mod > summary .pill { grid-column: 2; justify-self: start; } }
.mod-num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--muted); padding-top: 1px; }
.mod-head { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mod-effect { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.mod-name { font-size: .82rem; color: var(--muted); }
.mod-body { padding: 0 20px 20px 58px; }
@media (max-width: 899px) { .mod-body { padding: 0 16px 16px; } }
.mod-out { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.mod-demo { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--success); }
.labs-title { margin: 48px 0 16px; }
.pill { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill-ready { background: #E7F2EC; color: var(--success); }
.check-green { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-green li { position: relative; padding-left: 26px; line-height: 1.5; }
.check-green li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 800; }
.inside { margin-top: 48px; background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; padding: 28px; }
.inside-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.inside-list li { font-size: .95rem; color: var(--muted); }
.inside-list b { display: block; color: var(--ink); font-size: 1rem; }
@media (max-width: 860px) { .inside-list { grid-template-columns: 1fr; } }

/* 8. Autor */
.author-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .author-row { grid-template-columns: 1fr; gap: 24px; } }
.author-brand { background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 36px; }
.author-brand img { width: min(300px, 100%); height: auto; }
.author-gaps { border: 2px dashed #E3C39A; background: #FFFBF4; border-radius: 16px; padding: 22px; }
.gap-badge { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }

/* 9. Oferta */
.offer-grid2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .offer-grid2 { grid-template-columns: 1fr; } .price-card2 { order: -1; } }
.od-block { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.od-block:last-child { border-bottom: 0; }
.od-block h3 { margin-bottom: 12px; }
.plain-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: #333; }
.price-card2 { background: var(--surface); border: 1px solid var(--card-border); border-radius: 22px; box-shadow: 0 18px 48px rgba(0, 0, 0, .08); padding: 32px; position: sticky; top: 96px; }
@media (max-width: 960px) { .price-card2 { position: static; padding: 24px 18px; } }
.preview-badge { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--warn); background: var(--warn-soft); padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.pc-price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.pc-price strong { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pc-price span { font-weight: 700; color: var(--muted); }
.pc-sub { font-weight: 600; margin-bottom: 6px; }
.pc-firm { font-size: .82rem; color: var(--muted); }
.pc-list { margin: 16px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-info { margin-top: 12px; background: var(--warn-soft); border: 1px solid #F0DDB0; border-radius: 12px; padding: 14px 16px; font-size: .95rem; }
.buy-info:focus { outline: none; }
.pc-methods { margin: 14px 0 6px; font-size: .82rem; color: #8A8478; font-weight: 600; }
.pc-legal { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* 10 i 11. FAQ i ostatni ekran */
.faq-cta { margin-top: 32px; }
.lp details.faq > summary { font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; padding: 18px 0; }
.final-box { text-align: center; background: var(--surface); border: 1px solid var(--card-border); border-radius: 24px; box-shadow: var(--card-shadow); padding: 48px 32px; }
@media (max-width: 600px) { .final-box { padding: 32px 18px; } .final-box .btn { width: 100%; } }
.final-lines { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; font-size: 1.05rem; color: #333; }

/* 12. Stopka prawna */
.lp-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { display: block; width: 170px; height: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); }
.footer-h { font-weight: 800; margin-bottom: 8px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-gaps li { color: var(--warn); }
.test-path { margin-top: 12px; }
.test-path > summary { cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.footnotes { margin: 0 0 12px; padding-left: 1.3em; font-size: .8rem; color: var(--muted); display: grid; gap: 4px; }

/* Pasek CTA na telefonie */
.buy-bar { display: none; }
@media (max-width: 960px) {
  .buy-bar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
  .buy-bar p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .buy-bar strong { font-family: var(--font-display); font-size: 1.15rem; }
  .buy-bar span { font-size: .76rem; color: var(--muted); }
  .buy-bar .btn { min-height: 48px; }
  body.has-buy-bar { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  body.has-buy-bar .lp-header-cta { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* ---------- Przewijak reklam (15 branż) ---------- */
.carousel { position: relative; }
.carousel-track { list-style: none; margin: 0 0 12px; padding: 4px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.carousel-track:focus-visible { outline-offset: 4px; }
.carousel-track li { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--card-border); border-radius: 18px; padding: 8px; box-shadow: var(--card-shadow); }
.carousel-track img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.carousel-track span { display: block; padding: 10px 6px 4px; font-size: .92rem; font-weight: 700; }
.carousel-btn { position: absolute; top: calc(50% - 40px); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); font-size: 1.2rem; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.carousel-btn:hover { background: var(--bg); }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
@media (max-width: 1000px) { .carousel-track { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 760px) { .carousel-track { grid-auto-columns: 72%; } .carousel-btn { display: none; } }

/* ---------- Autor: liczby ---------- */
.author-stats { list-style: none; margin: 24px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.author-stats li { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.author-stats strong { font-family: var(--font-display); font-size: 1.3rem; white-space: nowrap; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.author-stats span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 560px) { .author-stats { grid-template-columns: 1fr; } }
.author-link { font-weight: 700; }

/* ---------- Stopka ---------- */
.footer-grid3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .footer-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid3 { grid-template-columns: 1fr; } }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.footer-list a { color: var(--ink); }
.footer-copy { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }

/* ---------- Kalkulator: wybór branży ---------- */
.preset-pick { max-width: 420px; margin: 8px 0 20px; }
.preset-pick label { display: block; font-weight: 700; margin-bottom: 6px; }
.preset-pick select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.preset-pick .muted { margin: 8px 0 0; }

/* ---------- Strona zamówienia ---------- */
.checkout { max-width: 1040px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; padding: 24px 16px 64px; gap: 24px; } .checkout-summary { order: -1; } }
.checkout h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.checkout-form, .checkout-summary { background: var(--surface); border: 1px solid var(--card-border); border-radius: 20px; padding: 28px; box-shadow: var(--card-shadow); }
@media (max-width: 600px) { .checkout-form, .checkout-summary { padding: 20px; } }
.checkout-form .field label { display: block; font-weight: 700; margin-bottom: 6px; }
.checkout-form input[type=email] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.checkout-form .hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.pay-btn { width: 100%; margin-top: 12px; }
.checkout-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.test-note { font-size: .82rem; background: var(--warn-soft); color: #5C3D00; border-radius: 10px; padding: 10px 12px; margin-top: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.sum-row:last-of-type { border-bottom: 0; }
.sum-total { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 4px; }
.sum-product { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.sum-product img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.sum-product b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.checkout-done { text-align: left; }

/* ---------- Dokumenty prawne ---------- */
.doc-page { max-width: 820px; margin: 0 auto; padding: 40px 24px 80px; }
@media (max-width: 600px) { .doc-page { padding: 24px 16px 64px; } }
.doc-page h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.3rem); }
.doc-page h2 { font-family: var(--font-display); font-size: 1.25rem; margin-top: 36px; }
.doc-page ol, .doc-page ul { padding-left: 1.3em; }
.doc-page li { margin-bottom: 8px; }
.doc-meta { color: var(--muted); font-size: .92rem; }
.doc-box { background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px 22px; margin: 20px 0; }
.doc-form { background: var(--surface); border: 2px dashed var(--line); border-radius: 16px; padding: 24px; margin: 20px 0; }
.doc-form p { margin-bottom: 14px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; margin: 0 0 24px; }
.doc-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.doc-header-inner { max-width: 1040px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc-header img { width: 150px; height: auto; display: block; }

/* ---------- Baner cookies (równorzędne przyciski) ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; gap: 16px; align-items: center; font-size: .92rem; }
.cookie-bar p { margin: 0; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* ---------- Lista kontrolna i układanie kolejności ---------- */
.check-why { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.checklist-step .choices { display: grid; gap: 4px; }
.order-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.order-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.order-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.order-text { flex: 1; }
.order-btns { display: flex; gap: 4px; flex: none; }
.order-btns .btn { min-width: 44px; min-height: 44px; font-size: 1.1rem; }
.order-btns .btn[disabled] { opacity: .3; }

.exam-q { margin-bottom: 24px; }
.exam-crit { margin-left: 8px; vertical-align: middle; font-size: .72rem; }
.exam-feedback:empty { display: none; }

/* Zrzuty ekranu z panelu Meta w lekcjach */
.screenshot { margin: 1.25rem 0; }
.screenshot a { display: block; border: 1px solid var(--line, #e2ddd3); border-radius: 12px; overflow: hidden; background: #fff; }
.screenshot img { display: block; width: 100%; height: auto; }
.screenshot figcaption { display: grid; gap: .25rem; margin-top: .5rem; font-size: .95rem; }
.screenshot .screenshot-date { color: var(--muted, #6b6b6b); font-size: .85rem; }
