/* ==========================================================================
   Sobtivo — arkusz stylów
   Kolory i typografia są zdefiniowane w :root — zmieniasz je w jednym miejscu.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-var.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --forest: #1f5e3b;      /* główny zielony: przyciski, linki */
  --forest-deep: #174a2e; /* hover przycisków */
  --ink: #173a28;         /* tekst — ciemna zieleń zamiast czerni */
  --muted: #557060;       /* tekst drugoplanowy */
  --leaf: #5baa4a;        /* akcent: ikony, liście na osi czasu */
  --leaf-soft: #d7ebcf;
  --sage: #eef5ea;        /* tło strony */
  --sage-2: #e2eedc;      /* tło sekcji wyróżnionych */
  --paper: #ffffff;
  --sun: #f2c661;         /* ciepły akcent — używany oszczędnie */
  --line: #d3e2cc;

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
}

*, *::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(--sage);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--forest); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 1rem/1 var(--font-ui);
  padding: 1em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn-small { padding: .7em 1.15em; font-size: .92rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(238, 245, 234, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.brand:hover { color: var(--ink); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: .55em .85em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
.main-nav a:hover { background: var(--sage-2); }
.main-nav a[aria-current="page"] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--sage); border-bottom: 1px solid var(--line); display: none; padding: 8px var(--gutter) 20px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8em .6em; font-size: 1.05rem; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin: 0 0 .25em; }
.section-head p { margin: 0; color: var(--muted); max-width: 36em; }
.band { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line2 { display: block; color: var(--forest); }
.hero .lead { margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero-points img { width: 30px; height: 30px; flex: none; }
.hero-points strong { color: var(--ink); font-weight: 600; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 460 / 540; }
.hero-visual .sun { position: absolute; top: 6%; right: 4%; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffe7a3, var(--sun)); opacity: .9; }
.hero-visual .mountains { position: absolute; top: 14%; left: -14%; width: 128%; max-width: none; opacity: .95; }
.hero-visual .hills { position: absolute; left: -30%; right: -30%; bottom: 0; width: 160%; height: 26%; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); }
.hero-visual .phone { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); width: 56%; filter: drop-shadow(0 28px 36px rgba(23, 58, 40, .22)); }
.hero-visual .sprout { position: absolute; left: -2%; bottom: 0; width: 30%; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 360px); }
}

/* ---------- Oś czasu regeneracji (element charakterystyczny) ---------- */
.recovery { background: var(--forest); color: #eaf5e4; position: relative; overflow: hidden; }
.recovery h2, .recovery h3 { color: #fff; }
.recovery .section-head p { color: #c4dcc0; }
.recovery a { color: #fff; }
.quit-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); padding: 14px 18px; }
.quit-date label { font-weight: 500; font-size: .95rem; }
.quit-date input { font: 500 1rem var(--font-ui); padding: .55em .8em; border-radius: var(--r-sm); border: 0; color: var(--ink); background: #fff; }
.quit-date output { font-size: .95rem; color: #fff; min-height: 1.4em; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 22px 34px 0; }
.timeline .stem { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.timeline .stem::after { content: ""; flex: 1; height: 2px; background: rgba(255,255,255,.25); margin-left: 10px; }
.timeline li:nth-child(4n) .stem::after { opacity: 0; }
.timeline .bud { width: 34px; height: 34px; flex: none; color: rgba(255,255,255,.35); transition: color .4s, transform .4s; }
.timeline li.reached .bud { color: var(--sun); transform: scale(1.12); }
.timeline .when { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: #fff; letter-spacing: -0.02em; display: block; margin-bottom: 10px; }
.timeline p { color: #d3e7cf; font-size: .98rem; margin: 0; max-width: 22em; }
.recovery .source { margin-top: 24px; font-size: .88rem; color: #b5d1b0; }

@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline li:nth-child(2n) .stem::after { opacity: 0; } .timeline li:nth-child(4n) .stem::after { opacity: 0; } }
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 26px 52px; }
  .timeline .stem { position: absolute; left: 0; top: 2px; margin: 0; flex-direction: column; height: 100%; }
  .timeline .stem::after { width: 2px; height: auto; flex: 1; margin: 8px 0 0; opacity: 1 !important; }
  .timeline li:last-child .stem::after { opacity: 0 !important; }
}

/* ---------- Aplikacje ---------- */
.apps { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.app-feature { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 22px 26px; align-items: start; border: 1px solid var(--line); }
.app-feature .icon img { width: 76px; height: auto; }
.app-feature .app-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .2em; }
.app-feature h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .2em; }
.app-feature .store-name { color: var(--muted); font-size: .95rem; margin-bottom: 1em; }
.app-feature ul { margin: 0 0 1.4em; padding: 0; list-style: none; display: grid; gap: 8px; }
.app-feature li { display: flex; gap: 10px; align-items: baseline; }
.app-feature li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; transform: translateY(-1px); }
.app-feature .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.apps-soon { display: grid; gap: 20px; }
.app-soon { border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.app-soon img { width: 56px; opacity: .85; }
.app-soon h3 { font-size: 1.2rem; margin: 0 0 .2em; }
.app-soon p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; background: var(--sage-2); color: var(--forest); margin-bottom: .6em; }
@media (max-width: 880px) { .apps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .app-feature { grid-template-columns: 1fr; } }

/* ---------- Kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--leaf); float: left; margin: 0 14px 14px 0; }
.steps li img { width: 44px; height: 44px; margin-bottom: 14px; }
.steps h3 { clear: left; }
.steps h3 { font-size: 1.2rem; margin-bottom: .35em; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Artykuły ---------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.article-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.article-list li:last-child .article-row { border-bottom: 1px solid var(--line); }
.article-row img { border-radius: 14px; width: 220px; aspect-ratio: 220 / 101; object-fit: cover; }
.article-row h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 0 0 .3em; }
.article-row h3 a { color: var(--ink); text-decoration: none; }
.article-row h3 a:hover { color: var(--forest); text-decoration: underline; }
.article-row p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 40em; }
.article-row .meta { font-size: .88rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .article-row { grid-template-columns: 1fr; gap: 12px; }
  .article-row img { width: 100%; max-width: 440px; }
}

/* ---------- E-booki ---------- */
.ebooks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.ebooks img { width: 100%; max-width: 480px; justify-self: center; }
@media (max-width: 760px) { .ebooks { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sage-2); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; max-width: 520px; }
.newsletter input[type="email"] { flex: 1 1 240px; font: 400 1rem var(--font-ui); padding: .95em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.newsletter input[type="email"]:focus { border-color: var(--forest); outline: none; }
.newsletter .form-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.newsletter .form-msg { font-weight: 500; color: var(--forest); margin: 12px 0 0; }
.newsletter img { width: 240px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter img { width: 180px; } }

/* ---------- Strony podrzędne ---------- */
.page-hero { overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.panel { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }

/* tabela informacji o aplikacji */
.facts { width: 100%; border-collapse: collapse; font-size: .98rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts th { width: 38%; font-weight: 600; padding-right: 20px; color: var(--ink); }
.facts td { color: var(--muted); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .facts th, .facts td { display: block; width: 100%; padding: 4px 0; border: 0; } .facts tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); } }

.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.data-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.data-grid h3 { font-size: 1.08rem; margin-bottom: .35em; }
.data-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .data-grid { grid-template-columns: 1fr; } }

/* kalkulator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.calc .fields { display: grid; gap: 16px; }
.calc label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.calc input { font: 500 1.05rem var(--font-ui); padding: .75em .95em; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.calc input:focus { border-color: var(--forest); outline: none; }
.calc .results { display: grid; gap: 12px; }
.calc .result { background: var(--sage); border-radius: var(--r-md); padding: 18px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc .result span { color: var(--muted); font-size: .95rem; }
.calc .result strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--forest); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 720px) { .calc { grid-template-columns: 1fr; } }

.download-box { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.download-box .status { color: var(--muted); font-size: .95rem; }

/* ---------- Treść długa (artykuły, dokumenty prawne) ---------- */
.prose { max-width: 42rem; }
.prose-serif { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.75; }
.prose-serif h2, .prose-serif h3 { font-family: var(--font-display); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--leaf); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-family: var(--font-ui); font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; }
.article-cover { border-radius: var(--r-md); width: 100%; max-width: 42rem; aspect-ratio: 220 / 101; object-fit: cover; margin: 8px 0 28px; }
.article-meta { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.callout { background: var(--sage-2); border-radius: var(--r-md); padding: 20px 22px; font-family: var(--font-ui); font-size: 1rem; line-height: 1.6; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }
.legal { font-size: 1.02rem; }
.legal h2 { font-family: var(--font-ui); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--font-ui); font-weight: 600; font-size: 1.08rem; }
.legal .updated { color: var(--muted); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; margin: 0 0 32px; font-family: var(--font-ui); font-size: .97rem; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.lang-switch { font-size: .92rem; margin-bottom: 18px; }

.highlight-target:target { animation: flash 1.6s ease-out 1; border-radius: 8px; }
@keyframes flash { from { background: #fff4c8; } to { background: transparent; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #c9dcc6; padding: 56px 0 32px; margin-top: clamp(48px, 8vw, 96px); font-size: .95rem; }
.site-footer a { color: #e7f2e3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h2 { font-family: var(--font-ui); font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: 0; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: #a7c2a3; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* prosta stopka (strony prawne, „Wkrótce") */
.footer-simple { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer-simple ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Strona „Wkrótce" ---------- */
.soon { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.soon-main { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: 24px; padding-bottom: 48px; }
.soon-main h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.soon-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.soon-list li { display: flex; gap: 10px; align-items: baseline; }
.soon-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; transform: translateY(-2px); }
@media (max-width: 820px) { .soon-main { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { padding: clamp(64px, 10vw, 140px) 0; text-align: left; }

/* Miejsca do uzupełnienia przed premierą — wyszukaj w plikach „todo" */
.todo { background: #fff1b8; padding: 0 .3em; border-radius: 4px; }

/* ---------- Przełącznik języka ---------- */
.header-spacer { margin-left: auto; }
.lang-switch-menu { position: relative; }
.lang-switch-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: .5em .7em; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.lang-switch-menu summary::-webkit-details-marker { display: none; }
.lang-switch-menu summary:hover, .lang-switch-menu[open] summary { background: var(--sage-2); }
.lang-switch-menu summary svg { width: 20px; height: 20px; }
.lang-switch-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(23, 58, 40, .14); min-width: 190px; max-height: 70vh; overflow-y: auto; }
.lang-switch-menu a { display: block; padding: .5em .8em; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-size: .95rem; }
.lang-switch-menu a:hover { background: var(--sage); }
.lang-switch-menu a[aria-current="true"] { background: var(--sage-2); font-weight: 600; }
@media (max-width: 880px) { .lang-switch-menu { margin-left: auto; } .nav-toggle { margin-left: 0; } }

/* ---------- Dodatki ---------- */
.side-illustration { justify-self: center; width: min(100%, 460px); }
.article-h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.article-lead { font-family: var(--font-display); }
.sources { font-family: var(--font-ui); }
.legal-h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.panel-h { font-size: 1.5rem; }
.big-mail { font-size: 1.3rem; font-weight: 600; word-break: break-all; }
.translation-note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin: 0 0 24px; }
.summary h2 { margin-top: 0; font-size: 1.15rem; }
.summary ul { margin-bottom: 0; }
.callout h2 { margin-top: 0; }
.soon-contact { margin-top: 28px; }
.soon .line2 { display: block; color: var(--forest); }
.data-grid { margin-top: 28px; }

/* długie adresy i słowa nie rozpychają strony na telefonach */
.prose { overflow-wrap: break-word; }
.prose a, .prose td, .prose th, .prose code { overflow-wrap: anywhere; }

/* kotwice (#) nie chowają się pod przyklejonym nagłówkiem */
[id] { scroll-margin-top: 96px; }
