/* ==========================================================
   Deepnest – arkusz stylów
   Tokeny kolorów: jasny (domyślny), ciemny (system lub wybór)
   ========================================================== */
:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-2: #eef2ec;
  --ink: #0d1b2a;
  --muted: #4b5b69;
  --line: #d9e0d8;
  --accent: #2f7d32;
  --accent-strong: #236127;
  --accent-ink: #ffffff;
  --signal: #9a5205;
  --deep: #0b1622;
  --deep-2: #12233a;
  --on-deep: #e9f0f3;
  --on-deep-muted: #a9bccb;
  --leaf: #7fca6a;
  --amber: #f2a93b;
  --shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 8px 24px rgba(13, 27, 42, .06);
  --radius: 14px;
  --radius-s: 8px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a131d; --surface: #0f1c29; --surface-2: #142536; --ink: #e6edf1; --muted: #a3b3c1;
    --line: #213447; --accent: #7fca6a; --accent-strong: #9bd98a; --accent-ink: #0a131d; --signal: #f2a93b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a131d; --surface: #0f1c29; --surface-2: #142536; --ink: #e6edf1; --muted: #a3b3c1;
  --line: #213447; --accent: #7fca6a; --accent-strong: #9bd98a; --accent-ink: #0a131d; --signal: #f2a93b;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46rem; }
.eyebrow { font: 500 .78rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--accent-strong); margin-bottom: .8rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.wrap.narrow { max-width: 860px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #111; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font: 600 1rem/1 var(--font-body); padding: .95rem 1.35rem; border-radius: 999px; border: 2px solid var(--accent);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(47, 125, 50, .28); text-decoration: none; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { box-shadow: none; background: rgba(127, 202, 106, .12); }
.btn-small { padding: .6rem 1rem; font-size: .9rem; }
.btn-on-deep, .section-deep a.btn-on-deep, .hero a.btn-on-deep { background: var(--leaf); border-color: var(--leaf); color: #0a131d; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font: 700 1.3rem/1 var(--font-head); letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; color: var(--ink); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--accent-strong); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .nav-toggle { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; fill: currentColor; stroke: none; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .main-nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; margin: 0; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .85rem .5rem; font-size: 1.05rem; }
  .header-actions { margin-left: auto; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--deep); color: var(--on-deep); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,22,34,.96) 0%, rgba(11,22,34,.82) 42%, rgba(11,22,34,.25) 75%, rgba(11,22,34,.1) 100%); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-inner { padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6.5rem); max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero .lead { color: var(--on-deep-muted); }
.hero .eyebrow { color: var(--leaf); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-actions .btn-ghost { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 2.6rem 0 0; padding: 0; list-style: none; font: 500 .85rem/1.4 var(--font-mono); color: var(--on-deep-muted); }
.hero-facts li::before { content: "▸ "; color: var(--leaf); }
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(11,22,34,.75) 0%, rgba(11,22,34,.92) 60%); }
}

.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.page-hero h1 { max-width: 22ch; }

/* ---------- sekcje ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding-top: 1rem; }
.section-alt { background: var(--surface-2); }
.section-deep { background: var(--deep); color: var(--on-deep); }
.section-deep .lead, .section-deep .muted { color: var(--on-deep-muted); }
.section-deep .eyebrow { color: var(--leaf); }
.section-deep a { color: var(--leaf); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-strong); margin-bottom: 1rem; }
.card .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-link .more { color: var(--accent-strong); font-weight: 600; font-size: .95rem; }

.area { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.area img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.area-body { padding: 1.5rem 1.6rem 1.7rem; }
.area ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.area li { margin: .2rem 0; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 1.4rem 1.3rem 1.3rem; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius-s) var(--radius-s); }
.steps li::before { content: "0" counter(step); font: 500 .85rem var(--font-mono); color: var(--accent-strong); display: block; margin-bottom: .5rem; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }

.note { border-left: 3px solid var(--signal); background: color-mix(in srgb, var(--signal) 8%, var(--surface)); padding: 1rem 1.2rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .95rem; }
.note strong { color: var(--ink); }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { border: 1px solid var(--line); background: var(--surface); padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; }
.section-deep .pill-list li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }

/* ---------- demonstrator impedancji ---------- */
.demo { background: var(--deep-2); color: var(--on-deep); border-radius: var(--radius); padding: 1.3rem; border: 1px solid rgba(255,255,255,.08); }
.demo canvas { width: 100%; height: auto; aspect-ratio: 16/10; display: block; border-radius: 10px; background: #0b1622; }
.demo-controls { display: grid; gap: .9rem; margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.demo label { display: grid; gap: .3rem; font-size: .88rem; color: var(--on-deep-muted); }
.demo label output { font: 500 .85rem var(--font-mono); color: var(--amber); }
.demo input[type="range"] { width: 100%; accent-color: var(--leaf); }
.demo-caption { font-size: .82rem; color: var(--on-deep-muted); margin: .9rem 0 0; }
.prose .demo { margin: 2rem 0; }

/* ---------- cennik ---------- */
.price-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: 500 .9rem var(--font-body); padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:hover { border-color: var(--accent); }
.services { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.service { display: flex; flex-direction: column; }
.service .cat { font: 500 .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .6rem; }
.service ul { padding-left: 1.1rem; margin: .2rem 0 1rem; color: var(--muted); font-size: .97rem; }
.service .price { margin-top: auto; border-top: 1px dashed var(--line); padding-top: .9rem; display: grid; gap: .25rem; }
.service .price div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .93rem; }
.service .price strong { font: 600 .98rem var(--font-mono); white-space: nowrap; color: var(--ink); }
.service .why { font-size: .88rem; color: var(--muted); background: var(--surface-2); padding: .65rem .8rem; border-radius: var(--radius-s); margin-bottom: 1rem; }
.service[hidden] { display: none; }
.price-table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font: 600 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.price-table td:last-child { font-family: var(--font-mono); white-space: nowrap; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 560px) { .price-table td:last-child { white-space: normal; } }

/* ---------- blog ---------- */
.blog-tools { display: grid; gap: 1rem; margin-bottom: 1rem; }
.search input { width: 100%; max-width: 520px; font: 400 1rem var(--font-body); padding: .85rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.post-card[hidden] { display: none; }
.post-card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--deep); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body .eyebrow { margin-bottom: .5rem; font-size: .72rem; }
.post-card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.post-card-body p { color: var(--muted); font-size: .95rem; }
.tag-list { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag-list li { font: 500 .72rem var(--font-mono); padding: .2rem .5rem; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.tag-list a { color: inherit; text-decoration: none; }

.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.post-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.breadcrumbs { margin-bottom: 1.5rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.post-cover { margin-top: 2rem; margin-bottom: 0; }
.post-cover img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-cover figcaption { margin-top: .5rem; }
.post-layout { display: grid; gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1040px) { .post-layout { grid-template-columns: 240px minmax(0, 720px); justify-content: center; } }
.toc { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .3rem 0 .3rem .9rem; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a.active { color: var(--accent-strong); border-left-color: var(--accent); }
@media (max-width: 1039px) { .toc { display: none; } }
.prose { font-size: 1.08rem; min-width: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
.prose .key { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 1rem 1.2rem; margin: 1.6rem 0; }
.prose .key p:last-child { margin: 0; }
.sources { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.sources h2 { font-size: 1.1rem; margin-top: 0; }
.sources ol { padding-left: 1.2rem; }
.sources li { margin: .4rem 0; overflow-wrap: anywhere; }
.post-tags { margin-top: 2rem; }
.post-cta { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--deep); color: var(--on-deep); display: grid; gap: 1rem; }
.post-cta p { margin: 0; }
.post-cta .btn { justify-self: start; background: var(--leaf); border-color: var(--leaf); color: #0a131d; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
.form input, .form textarea, .form select { font: 400 1rem var(--font-body); padding: .8rem .95rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form .check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.form .check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); }
.form-msg { font-size: .92rem; }
.map { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--surface-2); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 0; }
dl.facts dt { color: var(--muted); font-size: .92rem; }
dl.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 480px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: .5rem; } }

/* ---------- stopka ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-footer .brand { color: #fff; }
.site-footer .logo-mark { color: #fff; }
.site-footer a { color: var(--on-deep); }
.site-footer .muted { color: var(--on-deep-muted); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-claim { color: var(--on-deep); margin-top: 1rem; max-width: 30ch; }
.footer-h { font: 500 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--leaf); margin-bottom: .9rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- animacje ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.signal-line { height: 40px; width: 100%; color: var(--accent); opacity: .7; }
.kicker-num { font: 600 2.2rem/1 var(--font-head); color: var(--accent-strong); margin-bottom: .4rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal { max-width: 820px; }
