/* ==========================================================================
   Skorupka – style strony
   Spis treści:
   1. Tokeny (kolory, czcionki, odstępy) – tu zmieniasz wygląd całej strony
   2. Reset i elementy bazowe
   3. Układ strony (kontener, sekcje, siatki)
   4. Komponenty (przyciski, karty, nagłówek, stopka, chipy)
   5. Sekcje (hero z makietą, pasek zaufania, proces, porównanie, CTA, FAQ,
      oferta, realizacje, kontakt, polityka, 404)
   6. Animacje i preferencje użytkownika
   7. Tryb ciemny
   ========================================================================== */

/* 1. TOKENY ------------------------------------------------------------- */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  /* Kolory bazowe */
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #16202e;
  --text-muted: #56637a;
  --border: #dde3ec;

  /* Kolor marki – zmień te trzy, żeby przebarwić całą stronę */
  --primary: #5e4b8b;
  --primary-hover: #4a3a70;
  --primary-soft: #f0ebf8;
  --on-primary: #ffffff;

  --accent: #f7a23b;
  --success: #15803d;
  --success-soft: #e8f6ec;
  --danger: #b91c1c;
  --danger-soft: #fdecec;
  --warn: #92400e;
  --warn-soft: #fff4d6;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1140px;
  --gutter: 16px;
  --section: clamp(56px, 8vw, 96px);
  --header-h: 68px;
}

/* 2. RESET I ELEMENTY BAZOWE ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 8px; top: -80px; z-index: 1000;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 8px; }

.icon { width: 24px; height: 24px; flex: none; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* 3. UKŁAD -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--compact { padding-block: calc(var(--section) * .6); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.lead { font-size: 1.2rem; color: var(--text-muted); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* 4. KOMPONENTY --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #ffffff; color: #5e4b8b; }
.btn--light:hover { background: #f0ebf8; color: #4a3a70; }
.btn--lg { padding: 15px 28px; font-size: 1.0625rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn .icon { width: 18px; height: 18px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column;
}
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; flex: none;
}
.card__title { font-size: 1.15rem; margin-bottom: 8px; }
.card__text { color: var(--text-muted); margin: 0; }
.card--link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); color: inherit; }
.card__more { margin-top: auto; padding-top: 16px; color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card__more .icon { width: 18px; height: 18px; }
.card--danger .card__icon { background: var(--danger-soft); color: var(--danger); }

.chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.chip--ok { background: var(--success-soft); color: var(--success); }
.chip--wait { background: var(--warn-soft); color: var(--warn); }
.chip--run { background: var(--primary-soft); color: var(--primary); }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; }
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .9em; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--primary-soft); border: 1px solid var(--primary); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 32px;
}
.notice .icon { color: var(--primary); margin-top: 2px; }
.notice p { margin: 0; }

/* Nagłówek */
.site-header {
  position: sticky; top: 0; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; letter-spacing: -.01em;
}
.nav__logo:hover { color: var(--text); }
.nav__mark { display: block; width: 44px; height: 44px; flex: none; }
.nav__name { color: var(--primary); letter-spacing: .04em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.nav__links a:hover { background: var(--surface-2); color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav__links .nav__cta { margin-left: 8px; padding: 10px 18px; background: var(--primary); color: var(--on-primary); font-weight: 600; }
.nav__links .nav__cta:hover { background: var(--primary-hover); color: var(--on-primary); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    justify-content: center; align-items: center; background: transparent;
    border: 1px solid var(--border); border-radius: 10px; cursor: pointer; padding: 0;
  }
  .nav__toggle-bar { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 16px; background: var(--bg);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__links .nav__cta { margin: 8px 0 0; text-align: center; }
}

/* Stopka */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 56px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer__brand p { color: var(--text-muted); max-width: 40ch; margin-top: 14px; }
.footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__list a { color: var(--text); text-decoration: none; }
.footer__list a:hover { color: var(--primary); }
.footer__bottom { border-top: 1px solid var(--border); padding-block: 20px; font-size: .9rem; color: var(--text-muted); }
.footer__bottom p { margin: 0; }

/* 5. SEKCJE ------------------------------------------------------------- */
/* Hero strony głównej */
.hero {
  padding-block: clamp(48px, 7vw, 88px);
  background: radial-gradient(1200px 500px at 85% -10%, var(--primary-soft), transparent 60%), var(--bg);
  overflow: hidden;
}
.hero__grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__title { margin-bottom: 18px; }
.hero__title em { font-style: normal; color: var(--primary); }
.hero__lead { font-size: 1.25rem; color: var(--text-muted); max-width: 54ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__note { font-size: .95rem; color: var(--text-muted); margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.hero__note .icon { color: var(--success); width: 20px; height: 20px; margin-top: 2px; }

/* Makieta panelu (czysto dekoracyjna) */
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: .8rem; max-width: 560px; margin-inline: auto;
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.mock__dot:nth-child(1) { background: #f87171; }
.mock__dot:nth-child(2) { background: #fbbf24; }
.mock__dot:nth-child(3) { background: #34d399; }
.mock__title { margin-left: 8px; font-weight: 600; color: var(--text-muted); }
.mock__body { display: grid; grid-template-columns: 120px 1fr; }
.mock__side { border-right: 1px solid var(--border); padding: 12px 10px; display: grid; gap: 6px; align-content: start; background: var(--bg-alt); }
.mock__side span { padding: 7px 10px; border-radius: 8px; color: var(--text-muted); }
.mock__side span.is-active { background: var(--primary); color: var(--on-primary); font-weight: 600; }
.mock__main { padding: 14px; display: grid; gap: 12px; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__stat { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
.mock__stat b { display: block; font-size: 1.25rem; line-height: 1.2; }
.mock__stat span { color: var(--text-muted); }
.mock__table { display: grid; gap: 6px; }
.mock__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; }
.mock__row small { color: var(--text-muted); display: block; }
.mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 4px; }
.mock__chart i { flex: 1; background: var(--primary); opacity: .35; border-radius: 4px 4px 0 0; }
.mock__chart i:nth-child(odd) { opacity: .6; }
.mock__chart i:last-child { opacity: 1; }
@media (max-width: 420px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); }
}

/* Pasek zaufania */
.trust { border-block: 1px solid var(--border); background: var(--bg-alt); }
.trust__list {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.trust__item { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.4; }
.trust__item .icon { color: var(--success); margin-top: 1px; width: 22px; height: 22px; }
.trust__item small { display: block; font-weight: 400; color: var(--text-muted); font-size: .9rem; margin-top: 2px; }

/* Proces – wersja skrócona (strona główna) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.step { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* Proces – wersja pełna (podstrona) */
.timeline { list-style: none; padding: 0; margin: 0; max-width: 860px; }
.timeline__item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 40px; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 0; width: 2px; background: var(--border); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 1.2rem; flex: none;
}
.timeline__body h3 { margin-top: 12px; font-size: 1.35rem; }
.timeline__meta { display: inline-block; font-size: .85rem; color: var(--text-muted); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.timeline__body p:last-child { margin-bottom: 0; }
@media (max-width: 520px) {
  .timeline__item { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline__num { width: 44px; height: 44px; font-size: 1rem; }
  .timeline__item::before { left: 21px; top: 48px; }
}

/* Porównanie gotowy program vs dedykowany */
.compare { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.compare__col { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.compare__col--good { border-color: var(--primary); background: var(--primary-soft); }
.compare__col h3 { margin-bottom: 16px; }
.compare__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare__list li { display: flex; gap: 10px; align-items: flex-start; }
.compare__list .icon { width: 22px; height: 22px; margin-top: 2px; }
.compare__col--good .icon { color: var(--success); }
.compare__col--bad .icon { color: var(--danger); }

/* Pasek CTA */
.cta-band {
  background: linear-gradient(135deg, #5e4b8b, #33264f); color: #ffffff;
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  display: grid; gap: 20px; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #ffffff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .86); margin: 0; max-width: 60ch; }

/* Hero podstron */
.page-hero {
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px);
  background: radial-gradient(900px 400px at 90% -20%, var(--primary-soft), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 64ch; margin-bottom: 0; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.anchor-nav a {
  text-decoration: none; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .92rem;
}
.anchor-nav a:hover { border-color: var(--primary); color: var(--primary); }

/* Oferta – moduły */
.module { padding-block: 44px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); }
.module:last-of-type { border-bottom: 0; }
.module__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .module__grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.module__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.module__head .card__icon { margin: 0; }
.module__head h2 { font-size: 1.5rem; margin-bottom: 6px; }
.module__for { color: var(--text-muted); margin: 0; }
.module__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.module__list li { display: flex; gap: 10px; align-items: flex-start; }
.module__list .icon { color: var(--success); width: 20px; height: 20px; margin-top: 4px; }
.module__aside { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.module__aside h3 { font-size: 1rem; margin-bottom: 12px; }
.module__aside p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; }
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--primary); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 18px; color: var(--text-muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Realizacje – scenariusze */
.case {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px); margin-bottom: 28px; scroll-margin-top: calc(var(--header-h) + 16px);
}
.case__top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.case h2 { font-size: 1.5rem; }
.case__intro { color: var(--text-muted); max-width: 70ch; }
.case__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 20px; }
.case__block { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; }
.case__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); font-weight: 700; margin-bottom: 8px; display: block; }
.case__block ul { margin: 0; padding-left: 1.1em; }
.case__block li { margin-bottom: 6px; }
.case__block li:last-child { margin-bottom: 0; }
.case__block p { margin: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr .9fr; align-items: start; } }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.form__row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field small { color: var(--text-muted); font-size: .85rem; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 18px; height: 18px; margin-top: 4px; flex: none; accent-color: var(--primary); }
.field--check label { font-weight: 400; color: var(--text-muted); font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form__status.is-success { display: block; background: var(--success-soft); color: var(--success); }
.form__status.is-error { display: block; background: var(--danger-soft); color: var(--danger); }
.form__status.is-info { display: block; background: var(--primary-soft); color: var(--primary); }
.form__privacy { font-size: .85rem; color: var(--text-muted); margin: 14px 0 0; }
.contact-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
.contact-card h2 { font-size: 1.2rem; margin-bottom: 16px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--primary); margin-top: 2px; }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--primary); }
.contact-list small { display: block; color: var(--text-muted); }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: n; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; counter-increment: n; }
.next-steps li::before {
  content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

/* Polityka prywatności i inne strony tekstowe */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { margin-bottom: 1.2em; }

/* Strona 404 */
.error-page { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.error-page .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--primary); opacity: .25; line-height: 1; margin-bottom: 8px; }
.error-page .actions { justify-content: center; }

/* 6. ANIMACJE I PREFERENCJE ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card--link { transition: none; }
}

/* 7. TRYB CIEMNY -------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1520;
    --bg-alt: #141c29;
    --surface: #182130;
    --surface-2: #1f2a3b;
    --text: #e8edf5;
    --text-muted: #a3aec2;
    --border: #2a3648;
    --primary: #b9a6e6;
    --primary-hover: #d0c2f2;
    --primary-soft: #2a2140;
    --on-primary: #170f26;
    --success: #4ade80;
    --success-soft: #14301f;
    --danger: #f87171;
    --danger-soft: #3a1a1a;
    --warn: #fbbf24;
    --warn-soft: #3a2a0a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1520;
  --bg-alt: #141c29;
  --surface: #182130;
  --surface-2: #1f2a3b;
  --text: #e8edf5;
  --text-muted: #a3aec2;
  --border: #2a3648;
  --primary: #b9a6e6;
  --primary-hover: #d0c2f2;
  --primary-soft: #2a2140;
  --on-primary: #170f26;
  --success: #4ade80;
  --success-soft: #14301f;
  --danger: #f87171;
  --danger-soft: #3a1a1a;
  --warn: #fbbf24;
  --warn-soft: #3a2a0a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
}
