/* System designu: kolory, pismo, odstępy. Zmiana tutaj zmienia stronę i aplikację.
   Motyw ciemny jest podstawowy, jasny włącza data-theme="light" na <html>. */
@font-face { font-family: 'Geist'; src: url('fonts/geist-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: 'Geist'; src: url('fonts/geist-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
:root {
  color-scheme: dark;
  --base: #0B0E0C; --s1: #151A16; --s2: #1E241F; --s3: #2A312B;
  --line: #2A322B; --line-2: #3A433C;
  --text: #FFFFFF; --text-2: #A3AAA5; --muted: #6B726D;
  /* akcent: CTA i stany aktywne */
  --accent: #8EE04E; --accent-300: #B8F56A; --accent-700: #3FA33A; --on-accent: #0B0E0C;
  /* akcent jako tekst i linia danych: w jasnym motywie ciemniejszy, żeby był czytelny */
  --accent-t: #8EE04E; --data: #8EE04E; --glow: 0 0 24px rgb(142 224 78 / .35); --ring-f: rgb(142 224 78 / .3);
  --danger: #F0553F; --warning: #F2C94C; --info: #4FA3F7; --success: #8EE04E; --danger-t: #FF8B79;
  --extra-1: #B58CF0; --extra-2: #C27A3A;
  --body-line: rgb(255 255 255 / .5); --hero-glow: rgb(142 224 78 / .16); --scrim: rgb(0 0 0 / .66);
  /* barwy kategorii i skala wyniku: t1 bardzo słabo ... t5 bardzo dobrze */
  --c-red: #F0553F; --c-orange: #F58A3C; --c-yellow: #F2C94C; --c-yg: #C9DC4A; --c-green: #8EE04E; --c-blue: #4FA3F7; --c-violet: #B58CF0; --c-bronze: #DFA06A;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;
  --font: 'Inter Variable', Inter, 'Geist', system-ui, sans-serif;
}
:root[data-theme=light] {
  color-scheme: light;
  --base: #F3F5F2; --s1: #FFFFFF; --s2: #EFF2EE; --s3: #E2E8E1;
  --line: #DCE2DB; --line-2: #B7C1B7;
  --text: #0B0E0C; --text-2: #525A54; --muted: #6B726D;
  --accent: #8EE04E; --accent-300: #A6EC6B; --accent-700: #6DC233;
  --accent-t: #2A7426; --data: #3FA33A; --glow: 0 0 24px rgb(109 194 51 / .28); --ring-f: rgb(63 163 58 / .28);
  --danger: #D9412B; --warning: #D99A00; --info: #2A7DD6; --success: #3FA33A; --danger-t: #B32F1B;
  --extra-1: #8A5CD0; --extra-2: #A4611F;
  --c-red: #D9412B; --c-orange: #DB6F1A; --c-yellow: #C29100; --c-yg: #879F17; --c-green: #3FA33A; --c-blue: #2A7DD6; --c-violet: #8A5CD0; --c-bronze: #A4611F;
  --body-line: rgb(11 14 12 / .42); --hero-glow: rgb(142 224 78 / .3); --scrim: rgb(11 14 12 / .45);
}
.t1 { --tone: var(--c-red); } .t2 { --tone: var(--c-orange); } .t3 { --tone: var(--c-yellow); } .t4 { --tone: var(--c-yg); } .t5 { --tone: var(--c-green); }
.k-red { --tone: var(--c-red); } .k-orange { --tone: var(--c-orange); } .k-yellow { --tone: var(--c-yellow); } .k-green { --tone: var(--c-green); } .k-blue { --tone: var(--c-blue); } .k-violet { --tone: var(--c-violet); } .k-bronze { --tone: var(--c-bronze); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--base); }
body { margin: 0; font: 400 16px/1.5 var(--font); color: var(--text); background: var(--base); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; } fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex: none; }
:focus-visible { outline: 2px solid var(--accent-t); outline-offset: 2px; }
h1 { font-size: clamp(32px, 3.4vw, 49px); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -.035em; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
b, strong { font-weight: 600; }
.num { font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); } .logo-svg { height: 36px; width: auto; overflow: visible; } .logo-svg .lm { color: var(--data); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-full); font-weight: 500; letter-spacing: -.02em; border: 1px solid transparent; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn.primary { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn.primary:hover { background: var(--accent-300); } .btn.primary:active { background: var(--accent-700); }
.btn.ghost { border-color: var(--line-2); } .btn.ghost:hover { background: var(--s2); }
.btn:disabled { background: var(--s3); color: var(--muted); cursor: default; box-shadow: none; }
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -10px 0; color: var(--accent-t); font-size: 14px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; } .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ico-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; color: var(--text-2); transition: background .15s; } .ico-btn:hover { background: var(--s3); color: var(--text); }
.theme-btn .ic-moon { display: none; } :root[data-theme=light] .theme-btn .ic-moon { display: block; } :root[data-theme=light] .theme-btn .ic-sun { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
:root[data-switch] *, :root[data-switch] *::before { transition: none !important; }
[hidden] { display: none !important; }
