/* Fonty hostowane lokalnie — Fraunces, Hanken Grotesk, JetBrains Mono (SIL OFL 1.1).
   Zmienne (variable) kroje, podzbiory latin i latin-ext. Plik wygenerowany z
   Google Fonts css2; patrz public/assets/fonts/LICENSE.txt.

   Pliki są dodatkowo obcięte (fontTools): oś wagi zawężona do grubości, które
   arkusz naprawdę zamawia, znaki do zakresu ASCII + Latin-1 + Latin Extended-A
   (czyli cała Europa Środkowa, żeby nazwiska w panelu nie traciły ogonków)
   plus typografia, a z tablic OpenType zostały kern, ligatury i znaki
   diakrytyczne. Razem 224 KB → 93 KB. Fraunces jest przypięty do wagi 500,
   bo tylko w takiej występuje — nowy nagłówek w innej grubości trzeba będzie
   wygenerować od nowa, inaczej przeglądarka pogrubi go syntetycznie. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext.woff2?v=1789766248) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin.woff2?v=1789766248) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-latin-ext.woff2?v=1789766248) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-latin.woff2?v=1789766248) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin-ext.woff2?v=1789766248) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.woff2?v=1789766248) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   dotacjenurkowanie.pl — paleta i typografia wg bartlomiejbartnicki.pl
   ========================================================================== */

:root {
  color-scheme: light;

  /* Kolory marki zostają — zmienia się tylko to, co jest tłem, a co treścią.
     --aqua służy do wypełnień (przyciski, zaznaczenia), --accent do tekstu:
     jasna akwamaryna na bieli jest nieczytelna, ciemny morski już tak. */
  --aqua:   #17b9a9;
  --aqua-d: #0e8d80;
  --accent: #0b5c58;
  --teal:   #0e6b66;
  --deep:   #e9f2f1;
  --abyss:  #ffffff;
  --ink:    #f3f8f7;
  --haze:   #5d6f6e;
  --fog:    #2a3a39;
  --bone:   #0b2a2e;
  --amber:  #ff7a2e;
  --amber-l:#f26a1c;
  --danger: #cf2f2f;
  --ok:     #15803d;

  --line:   color-mix(in srgb, var(--aqua) 34%, transparent);
  --line-2: #dde7e5;
  --panel:  #ffffff;
  --panel-2:#f6fbfa;

  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --shadow: 0 14px 40px -18px rgba(11, 42, 46, .28);
  --wrap: 1120px;
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fog);
  background: #fff;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--bone);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--aqua) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--bone); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.lede { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--haze); max-width: 62ch; }
.muted { color: var(--haze); }
.small { font-size: .86rem; }
.mono  { font-family: var(--font-mono); }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-head {
  position: sticky; top: 0; z-index: 40;
  padding: .85rem 0;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--abyss) 82%, transparent);
  border-bottom: 1px solid var(--line-2);
}

.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-family: var(--font-display); font-size: 1.02rem; color: var(--bone); }
.brand__sub  { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a { font-size: .9rem; color: var(--haze); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .16s ease, border-color .16s ease, color .16s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.btn--primary { background: var(--amber); color: #170a02; }
.btn--primary:hover:not(:disabled) { background: var(--amber-l); color: #170a02; }

.btn--aqua { background: var(--aqua); color: #04201c; }
.btn--aqua:hover:not(:disabled) { background: var(--aqua-d); color: #04201c; }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--fog); }
.btn--ghost:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }

.btn--danger { background: transparent; border-color: color-mix(in srgb, var(--danger) 45%, transparent); color: var(--danger); }
.btn--danger:hover:not(:disabled) { background: color-mix(in srgb, var(--danger) 16%, transparent); }

.btn--sm { padding: .45rem .9rem; font-size: .82rem; min-height: 36px; }
.btn { white-space: nowrap; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--block { width: 100%; }

/* ── Panels ───────────────────────────────────────────────────────────── */

.panel {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.2rem);
}

.card {
  background: color-mix(in srgb, var(--deep) 38%, var(--abyss));
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bone);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
/* <picture> jest tylko opakowaniem na <source> — bez display:contents
   zostawiałoby w hero pusty wiersz inline i zbijało układ w dół. */
.hero > picture { display: contents; }
.hero__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
}
/* Przyciemnienie mocniejsze od lewej, gdzie leży tekst — po prawej
   zdjęcie zostaje czytelne. */
/* Podbite nasycenie w lewym dolnym narożniku jest wypalone w samym pliku
   zdjęcia (saturate 2.1, contrast 1.08, brightness 1.04 pod elipsą 32%×52%
   w narożniku). Wcześniej robiła to druga kopia <img> z filtrem i maską —
   ten sam piksel trafiał wtedy do pamięci dwa razy i był rastrowany dwa
   razy, mimo że pobranie było jedno. */

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(4,16,19,.10) 0%,
      rgba(4,16,19,.27) 11%,
      rgba(4,16,19,.44) 20%,
      rgba(4,16,19,.35) 48%,
      rgba(4,16,19,.18) 80%,
      rgba(4,16,19,.07) 89%,
      rgba(4,16,19,.02) 100%),
    linear-gradient(180deg, rgba(4,16,19,.14) 0%, transparent 32%);
}
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(4, 16, 19, .85), 0 1px 3px rgba(4, 16, 19, .5); }
.hero .lede, .hero .facts li { text-shadow: 0 1px 16px rgba(4, 16, 19, .9), 0 1px 3px rgba(4, 16, 19, .6); }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(4, 16, 19, .8); }
.hero__credit { text-shadow: 0 1px 10px rgba(4, 16, 19, .8); }
.hero h1 span { color: #7fe3d8; }
.hero .eyebrow { color: #7fe3d8; }
.hero .lede { color: rgba(255,255,255,.84); }
.hero .facts li { color: rgba(255,255,255,.90); }
.hero .facts li::before {
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(52, 224, 207, .20);
}
.hero__credit {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin: 2.4rem 0 0;
}
@media (max-width: 760px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(4,16,19,.56) 0%, rgba(4,16,19,.46) 55%, rgba(4,16,19,.62) 100%); }
  .hero__photo { object-position: 50% 40%; }
}
.hero__single { max-width: 720px; }
.hero__single .lede { max-width: 58ch; }

.facts { display: grid; gap: .7rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.facts li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: .55rem;
  border-radius: 50%; background: var(--aqua);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua) 16%, transparent);
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-foot {
  margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--line-2);
  padding: 2.5rem 0 3rem;
  font-size: .9rem;
}
.site-foot__grid { display: grid; gap: 1.6rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .site-foot__grid { grid-template-columns: 1fr; } }
.site-foot h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.site-foot a { display: inline-block; color: var(--fog); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.contact-line { display: flex; align-items: center; gap: .55rem; margin-bottom: .45rem; }

/* ── Kontakt callout ──────────────────────────────────────────────────── */

.callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  background: color-mix(in srgb, var(--aqua) 5%, transparent);
}
.callout strong { color: var(--bone); }

/* ── Skip link + a11y ─────────────────────────────────────────────────── */

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--aqua); color: #04201c; padding: .6rem 1rem; border-radius: var(--r-sm); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Formularz
   ========================================================================== */

.form-shell { padding: clamp(1rem, 4vw, 2.5rem) 0 1rem; }

.step { display: block; padding-top: 2.4rem; margin-top: 2.4rem; border-top: 1px solid var(--line-2); }
.step:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }

.step__head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.step__head h2 { margin-bottom: .3rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.step__head p { color: var(--haze); margin: 0; font-size: .93rem; }
.step__n {
  flex: none; width: 32px; height: 32px; margin-top: .15rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--aqua) 14%, transparent);
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono); font-size: .85rem; font-weight: 500;
}
@media (max-width: 520px) {
  .step__head { gap: .7rem; }
  .step__n { width: 28px; height: 28px; font-size: .78rem; }
}

.grid { display: grid; gap: 1rem 1.1rem; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label, .legend {
  font-size: .85rem; font-weight: 600; color: var(--bone);
  display: flex; align-items: baseline; gap: .4rem;
}
.req { color: var(--amber); font-size: .9em; }
.hint { font-size: .78rem; color: var(--haze); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"],
input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: .78rem .95rem;
  font: inherit;
  font-size: 1rem; /* 16px — nie powoduje zoomu na iOS */
  color: var(--bone);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  min-height: 46px;
  appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--haze) 70%, transparent); }

input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--aqua) 28%, transparent); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 18%, transparent);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent);
}

select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238aa2a0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
select option { background: var(--deep); color: var(--bone); }

input[type="date"]::-webkit-calendar-picker-indicator { filter: sepia(.5) saturate(500%) hue-rotate(125deg) brightness(.8); cursor: pointer; }

.err { color: var(--danger); font-size: .78rem; min-height: 0; }
.err:empty { display: none; }

/* Wybory: radio / checkbox jako kafelki */
fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: grid; gap: .6rem; margin-top: .6rem; }
.choices--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .choices--2 { grid-template-columns: 1fr; } }

.choice {
  position: relative;
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: color-mix(in srgb, var(--aqua) 35%, transparent); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
  flex: none; width: 20px; height: 20px; margin-top: .15rem;
  border: 1.5px solid color-mix(in srgb, var(--haze) 60%, transparent);
  border-radius: 6px;
  display: grid; place-items: center;
  transition: all .15s ease;
}
.choice--radio .choice__box { border-radius: 50%; }
.choice__box::after {
  content: ""; width: 9px; height: 9px; border-radius: 3px;
  background: #fff; transform: scale(0); transition: transform .15s ease;
}
.choice--radio .choice__box::after { border-radius: 50%; }
.choice input:checked ~ .choice__box { background: var(--aqua); border-color: var(--accent); }
.choice input:checked ~ .choice__box::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--aqua) 9%, transparent); }
.choice input:focus-visible ~ .choice__box { outline: 2px solid var(--aqua); outline-offset: 2px; }
.choice__label { font-size: .94rem; color: var(--bone); line-height: 1.4; }
.choice__label small { display: block; color: var(--haze); font-size: .8rem; margin-top: .15rem; }

.consent { align-items: flex-start; }
.consent .choice__label { font-size: .86rem; color: var(--fog); }

.form-nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2); }
.form-nav .btn { min-width: 210px; }
@media (max-width: 560px) { .form-nav .btn { width: 100%; min-width: 0; } }

.done-state { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.done-state__ring {
  width: 88px; height: 88px; margin: 0 auto 1.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--aqua) 12%, transparent);
  border: 1px solid var(--line);
}

/* ==========================================================================
   Treść RODO
   ========================================================================== */

/* Kolumna tekstu jest węższa niż .wrap-narrow, więc bez wyśrodkowania
   dosuwała się do lewej krawędzi, a razem z nią zdjęcia w treści. */
.prose { max-width: 72ch; margin-inline: auto; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.05rem; color: var(--accent); font-family: var(--font-sans); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose th { color: var(--accent); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; padding: 0; list-style: none; }
.toc a { font-size: .82rem; padding: .35rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--haze); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }


.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 140%);
  z-index: 90; max-width: min(92vw, 420px);
  padding: .8rem 1.2rem; border-radius: 999px;
  background: var(--aqua); color: #04201c; font-weight: 600; font-size: .9rem;
  box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast--err { background: var(--danger); color: #fff; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--abyss) 40%, transparent);
  border-top-color: currentColor;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ── Poprawki drobne ──────────────────────────────────────────────────── */

.toast { opacity: 0; visibility: hidden; }
.toast.is-on { opacity: 1; visibility: visible; }

/* Na wąskim ekranie pasek nie mieści wszystkiego naraz i wypychał poza kadr
   numer telefonu — czyli jedyną pozycję, która jest wezwaniem do działania.
   Zostaje więc skrót do kursów i telefon; programy, FAQ i RODO są o jedno
   przewinięcie niżej albo w stopce. */
@media (max-width: 620px) {
  .site-nav .nav-sec { display: none; }
  .site-head__row { gap: .6rem; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: .92rem; white-space: nowrap; }
  .brand__sub  { font-size: .56rem; letter-spacing: .1em; }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .82rem; white-space: nowrap; }
  .hero { padding-top: 2rem; }
  .callout { gap: .4rem .9rem; font-size: .9rem; }
}

@media (max-width: 420px) {
  .brand__sub { display: none; }
  .site-nav a[href^="tel"] { font-size: .8rem; }
}

@media (max-width: 720px) {
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }
}
