:root {
  --bg: #070708;
  --bg-2: #101014;
  --card: #141418;
  --card-2: #1b1b21;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #a7a7b0;
  --faint: #7c7c86;
  --accent: #ff6b35;
  --accent-2: #ff8a5b;
  --header: 243px;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-anchor: none;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(255, 107, 53, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

blockquote {
  margin: 0.2rem 0 1rem;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--accent);
}
blockquote p { margin: 0; color: var(--text); }

p { margin: 0 0 0.9rem; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.7rem; }

h1 { font-size: clamp(2.05rem, 3.5vw, 3.45rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 50;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #1a100c;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  transform: none;
}
main:focus { outline: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  display: flex;
  align-items: center;
  padding: 14px 0;
  background: #070708;
  border-bottom: 1px solid transparent;
  overflow-anchor: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1280px, calc(100% - 32px));
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: var(--logo, 360px);
  height: var(--logo-h, 214px);
  max-width: none;
}

@media (max-width: 1380px) {
  :root { --header: 209px; }
  .brand img { width: var(--logo, 300px); height: var(--logo-h, 180px); }
}

@media (max-width: 1180px) {
  :root { --header: 173px; }
  .brand img { width: var(--logo, 240px); height: var(--logo-h, 144px); }
}

@media (max-width: 980px) {
  :root { --header: 119px; }
  .brand img { width: var(--logo, 150px); height: var(--logo-h, 90px); }
}

.nav-toggle {
  margin-left: auto;
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #16161a;
  color: white;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav > a,
.drop > button {
  appearance: none;
  background: none;
  border: 0;
  color: #d7d7dc;
  font: 600 15px/20px var(--font);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.site-nav > a:hover,
.drop > button:hover,
.site-nav > a[aria-current="page"] { color: white; }

.site-nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: white !important;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.28);
}

.btn:hover { background: var(--accent-2); }
.btn:disabled { cursor: progress; opacity: 0.65; }

.btn.ghost {
  background: transparent;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.site-nav .btn { margin-left: 8px; padding: 0 16px; min-height: 40px; box-shadow: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px 10px;
  border-radius: 10px;
  line-height: 0;
  text-decoration: none;
}
.lang-switch a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.lang-switch a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.lang-switch svg {
  display: block;
  height: 18px;
  width: auto;
}

.drop { position: relative; }

.drop-panel {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 280px;
  padding: 8px;
  background: #16161c;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.drop:hover .drop-panel,
.drop:focus-within .drop-panel { display: grid; }

.drop-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #ececf1;
  font-size: 15px;
  line-height: 20px;
}

.drop-panel a span {
  display: block;
  color: var(--faint);
  font-size: 13px;
  line-height: 18px;
  margin-top: 2px;
}

.drop-panel a:hover { background: rgba(255, 255, 255, 0.05); }

.drop.is-current > button {
  color: white;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.drop-panel a[aria-current="page"] {
  color: white;
  background: rgba(255, 107, 53, 0.12);
  box-shadow: inset 3px 0 0 var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  padding: 54px 0 28px;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.lead { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-figure {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(160deg, rgba(255, 107, 53, 0.18), transparent 40%),
    #121216;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-figure img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 10px;
}

.stat {
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.stat b { display: block; font-size: 1.35rem; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }

.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--muted); }

.grid-3, .grid-2, .grid-4 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card a.more { color: var(--accent-2); font-weight: 650; text-decoration: none; }

.related h2 { margin: 0 0 16px; }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.related-card strong { font-size: 1.05rem; }
.related-card span { color: var(--muted); }
.related-card:hover { border-color: var(--accent); }
.related-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.end-cta { padding-top: 0; }

.end-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.end-cta-card h2 { margin: 0 0 6px; font-size: 1.45rem; }
.end-cta-card p { margin: 0; color: var(--muted); }
.end-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  flex: 0 0 auto;
  width: min(320px, 100%);
}
.end-cta-card .btn {
  flex: 0 0 auto;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding: 12px 18px;
}
.end-cta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}
.end-cta-secondary:hover { color: white; }
.end-cta-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.brief-bar {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 7, 8, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brief-bar[hidden] { display: none; }

.brief-bar p {
  margin: 0;
  min-width: 0;
  font-weight: 650;
  line-height: 1.25;
}

.brief-bar .btn { flex: 0 0 auto; }

#brief { scroll-margin-top: calc(var(--header) + 12px); }

.card.media { padding: 0; overflow: hidden; }
.card.media img { width: 100%; height: 180px; object-fit: cover; }
.card.media div { padding: 18px 20px 20px; }

ul.clean, .prose ul { padding-left: 1.15rem; margin: 0 0 0.9rem; }
ul.clean li, .prose li { margin: 0.25rem 0; }

.prose { max-width: 78ch; }
.prose h2 {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.prose section:first-child h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { margin-top: 1.35rem; }

.prose.scan { max-width: none; }

.toc {
  margin: 8px 0 22px;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.toc p {
  margin: 0 0 8px;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 22px;
}

.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-2); }
.toc a[aria-current="true"] { color: var(--accent-2); font-weight: 680; }
.toc a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.section-contents { margin: 4px 0 16px; }
.section-contents p {
  margin: 0 0 4px;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-contents ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding-left: 1.15rem;
}
.section-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.section-contents a:hover,
.section-contents a[aria-current="true"] { color: var(--accent-2); }
.section-contents a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.toc { scroll-margin-top: calc(var(--header) + 12px); }

.toc-live {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  gap: 10px;
  align-items: baseline;
  max-width: 100%;
  padding: 10px 18px;
  background: rgba(7, 7, 8, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.toc-live span {
  flex: none;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc-live strong {
  min-width: 0;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toc-live[hidden] { display: none; }

.scan-block {
  margin: 0 0 32px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  scroll-margin-top: calc(var(--header) + 64px);
}

.scan-block:last-child { margin-bottom: 0; }
.scan-block > :last-child { margin-bottom: 0; }

.prose .scan-block h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.scan-lead { color: var(--muted); font-size: 1.05rem; }

.compare { margin-top: 4px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.compare thead th { color: var(--text); font-size: 0.98rem; }
.compare tbody th { width: 24%; color: var(--text); font-weight: 650; }
.compare td { color: var(--muted); }
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }

.scan-item {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 64px);
}

.scan-item h3 { margin-top: 0; }
.shot img { background: #141418; }

.page-hero {
  padding: 42px 0 10px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
}

.page-hero .shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #141418;
  align-self: start;
}

.page-hero .shot img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.page-hero > div { min-width: 0; }

.place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 14px;
  margin: 0 0 14px;
}
.place a,
.place span[aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.place a[aria-current="page"],
.place span[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.place a:hover { color: var(--text); }
.place-group {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.place-sep {
  color: var(--faint);
  white-space: nowrap;
}

.note {
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 0 12px 12px 0;
  color: #f0e7e2;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--faint); font-weight: 650; }

.contact-side { display: grid; gap: 16px; align-content: start; }
.process { display: grid; gap: 12px; }
.process h2 { margin: 0; font-size: 1.35rem; }
.process ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li {
  position: relative;
  margin: 0;
  padding: 2px 0 14px 48px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.process li:last-child { border-bottom: 0; padding-bottom: 0; }
.process li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1c1c22;
  color: var(--text);
  font-weight: 650;
}
.process li strong { color: var(--text); }
.process li[aria-current="step"]::before {
  background: var(--accent);
  color: #1a100c;
}
.process li[aria-current="step"] strong::after,
.after-send li[aria-current="step"]::after {
  content: " · teraz";
  color: var(--accent);
  font-weight: 650;
}
.after-send li[aria-current="step"] { color: var(--text); font-weight: 650; }

.form {
  display: grid;
  gap: 12px;
}

.after-send {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 14px;
  scroll-margin-top: calc(var(--header) + 12px);
}

.after-send h3 { margin: 0; font-size: 1.15rem; }
.after-send p, .after-send li { color: var(--muted); }
.after-send h3 { color: var(--text); }
.after-send ol, .after-send ul { margin: 0 0 8px; padding-left: 1.15rem; }
.after-send[hidden] { display: none; }

label { display: grid; gap: 6px; font-size: 0.92rem; color: var(--muted); scroll-margin-top: calc(var(--header) + 12px); }

.label-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.reply-promise {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.brief-privacy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.field-error { color: #ffe1d6; font-weight: 650; }
.field-error[hidden] { display: none; }

input, select, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #101014;
  color: white;
  font: inherit;
  padding: 12px 14px;
}

textarea { min-height: 140px; resize: vertical; }

input[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: var(--accent); }

.form[data-state="invalid"] [data-status],
.form[data-state="error"] [data-status] {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.14);
  color: #ffe1d6;
}

.form[data-state="invalid"] .brief-privacy,
.form[data-state="error"] .reply-promise,
.form[data-state="error"] .brief-privacy,
.form[data-state="success"] .brief-privacy { display: none; }

.form[data-state="error"] [data-status] {
  scroll-margin-top: calc(var(--header) + 12px);
}

.form[data-state="sending"] [data-status] { color: var(--muted); }

.form[data-state="success"] label,
.form[data-state="success"] .brief-more,
.form[data-state="success"] .brief-chosen,
.form[data-state="success"] .reply-promise { display: none; }

.form[data-state="success"] [data-status] {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  scroll-margin-top: calc(var(--header) + 12px);
}

.brief-chosen { margin: 0 0 0.8rem; color: var(--text); font-weight: 650; }
.brief-more > summary {
  display: list-item;
  cursor: pointer;
  color: var(--text);
  font-weight: 650;
  min-height: 44px;
  padding: 10px 0;
}
.brief-more > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.brief-optional { color: var(--muted); font-weight: 450; }
.brief-fields { display: grid; gap: 12px; padding-bottom: 4px; }

.checks { display: grid; gap: 8px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checks input { width: auto; margin-top: 4px; }

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
  color: var(--muted);
  background: #09090b;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 22px;
}

.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer a[aria-current="page"] {
  color: white;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.site-footer h2 { font-size: 0.95rem; letter-spacing: 0; color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.legal { margin-top: 22px; color: var(--faint); font-size: 0.86rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq summary { cursor: pointer; font-weight: 650; min-height: 44px; padding: 10px 0; }
.faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.faq details p { color: var(--muted); margin: 8px 0 0; }

.hero-points { color: var(--muted); margin-top: 8px; }
.hero-points ul { margin: 0 0 8px; }

.hero-fold { margin-top: 4px; }
.hero-fold > summary { display: none; }
.hero-fold:not([open]) > .hero-points { display: block; }

@media (min-width: 821px) {
  .hero-fold:not([open])::details-content {
    content-visibility: visible;
    height: auto;
  }
}

@media (max-width: 980px) {
  .hero, .page-hero, .grid-3, .grid-4, .stats, .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .site-header .wrap { gap: 10px; }
  .site-nav { gap: 0; }
  .site-nav > a,
  .drop > button { padding: 8px 4px; font-size: 13.5px; }
  .site-nav .btn { margin-left: 4px; padding: 0 8px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .wrap { gap: 8px; }
  .lang-switch { display: flex; position: static; }
  .lang-switch a { padding: 6px 4px 8px; }

  :root { --header: 125px; }

  .site-header,
  .site-header.is-scrolled {
    height: auto;
    min-height: 0;
    padding: 8px 0;
  }

  .brand { flex-basis: 180px; width: 180px; height: 108px; }

  .brand img,
  .site-header.is-scrolled .brand img { width: 180px; height: 108px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 16px 18px;
    background: #0d0d11;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }

  .site-nav.is-open { display: flex; }

  .site-nav > a,
  .drop > button {
    text-align: left;
    width: 100%;
    padding: 14px 8px;
    font-size: 16px;
  }

  .drop-panel {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 8px;
  }

  .drop.open .drop-panel { display: grid; }

  .site-nav .btn { margin: 8px 0 0; width: 100%; box-shadow: none; }

  .hero, .page-hero { align-items: stretch; }
  .hero-figure { width: 100%; }

  h1 { font-size: 1.72rem; line-height: 1.15; }
  .toc ol { grid-template-columns: 1fr; }
  .section-contents li { flex: 1 1 100%; min-width: 0; max-width: 100%; }
  .section-contents a { display: block; max-width: 100%; white-space: normal; }

  .hero, .page-hero, .grid-2, .grid-3, .grid-4, .stats, .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 28px; }
  .section { padding: 40px 0; }
  .end-cta { padding-top: 0; }
  .end-cta-card { align-items: stretch; flex-direction: column; }
  .end-cta-actions { width: 100%; }
  .end-cta-card .btn { width: 100%; }
  .hero-fold > summary {
    display: list-item;
    cursor: pointer;
    color: var(--text);
    font-weight: 650;
    min-height: 44px;
    padding: 10px 0;
  }
  .hero-fold > summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  .hero-fold:not([open]) > .hero-points { display: none; }
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .compare table,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; width: auto; }
  .compare tr { padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
  .compare tbody th,
  .compare td { border-bottom: 0; padding: 8px 0; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-weight: 650;
  }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}

/* Szablon strony głównej. Klasy .card i .grid-* na podstronach zostają. */
.home-hero { padding: 18px 0 8px; }

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 36px;
  align-items: center;
}

.home-hero h1 {
  max-width: 16em;
  font-size: clamp(2.15rem, 4vw, 3.85rem);
  line-height: 1.06;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.home-hero .lead { margin-bottom: 0; }

.home-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 22px 0 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-facts b {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-facts span { color: var(--muted); }

.home-stage { margin: 28px auto 10px; }

.home-stage img,
.home-split img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.home-band {
  margin: 18px 0 8px;
  padding: 46px 0;
  background:
    radial-gradient(520px 180px at 92% 50%, rgba(255, 107, 53, 0.18), transparent 70%),
    var(--bg-2);
}

.home-band h2 { max-width: 16em; margin-bottom: 0; }

.home-band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-split { padding: 42px 0 18px; }

.home-split figure { margin: 0; }

.home-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.home-split.is-flip .home-split-grid > figure { order: -1; }

.home-block { padding: 42px 0 12px; }

.home-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas:
    "lead wide wide"
    "lead measure ai";
  gap: 14px;
  margin-top: 18px;
}

.home-tile {
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.home-tile img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.home-tile div { padding: 16px 18px 18px; }

.home-tile h3 { margin-bottom: 8px; }

.home-tile p { margin: 0 0 0.7rem; color: var(--muted); }

.home-tile-lead {
  grid-area: lead;
  position: relative;
  min-height: 560px;
  border: 0;
}

.home-tile-lead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-tile-lead div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 72px 22px 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}

.home-tile-lead h3,
.home-tile-lead p { color: white; }

.home-tile-lead p { color: #e6e6ea; }

.home-tile-wide {
  grid-area: wide;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.home-tile-wide img { height: 100%; min-height: 210px; }

.home-mosaic .home-tile:nth-child(3) { grid-area: measure; }
.home-mosaic .home-tile:nth-child(4) { grid-area: ai; }

.home-links { margin: 0; }

.home-links a {
  color: var(--accent-2);
  font-weight: 650;
  text-decoration: none;
}

.home-links a:hover { text-decoration: underline; }

.home-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 8px 0 0;
  padding: 26px 0 0;
  position: relative;
}

.home-track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.home-track li { position: relative; min-width: 0; }

.home-track li::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.home-track p { margin: 0; color: var(--muted); }

.home-steps-band {
  margin-top: 28px;
  padding: 42px 0;
  background: var(--bg-2);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.home-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.home-steps li > span {
  color: var(--accent);
  font-size: 2.6rem;
  font-weight: 750;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.home-steps h3 { margin-bottom: 6px; }

.home-steps p { margin: 0 0 0.55rem; color: var(--muted); }

.home-steps .is-note > span {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--accent);
  font-size: 0;
}

.home-end {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.home-close {
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(255, 107, 53, 0.22), transparent 46%),
    #141418;
  border: 1px solid rgba(255, 107, 53, 0.35);
}

.home-close a:not(.btn) {
  color: var(--accent-2);
  font-weight: 650;
}

.home-offers {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}

.home-offers article {
  margin: 0;
  padding: 22px 22px 8px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}

.home-offers article:first-child {
  grid-row: span 2;
  background:
    linear-gradient(165deg, rgba(255, 107, 53, 0.2), transparent 52%),
    #141418;
}

.home-offers h3 { margin-bottom: 8px; }

.home-offers p { color: var(--muted); }

@media (max-width: 980px) {
  .home-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "lead lead"
      "wide wide"
      "measure ai";
  }

  .home-tile-lead { min-height: 420px; }
  .home-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .home-hero-grid,
  .home-split-grid,
  .home-end { grid-template-columns: 1fr; }

  .home-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .home-facts { grid-template-columns: 1fr 1fr; }

  .home-band-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-mosaic {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "wide"
      "measure"
      "ai";
  }

  .home-tile-lead { min-height: 320px; }

  .home-tile-wide { grid-template-columns: 1fr; }

  .home-tile-wide img { height: 200px; min-height: 0; }

  .home-track {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-left: 6px;
    padding: 0 0 0 22px;
  }

  .home-track::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .home-track li::before { top: 4px; left: -22px; }

  .home-steps { grid-template-columns: 1fr; }

  .home-offers { grid-template-columns: 1fr; }

  .home-offers article:first-child { grid-row: auto; }
}
