/* ============================================================
   Radar — sprawdź swoją odporność cyfrową
   Ciepła, wysoce czytelna, seniorska estetyka (60+)
   Akcenty ING Orange (#ff6200), wysoki kontrast WCAG AA+,
   100% czysty CSS bez zależności zewnętrznych.
   Responsywny układ Split-View (Desktop >= 880px / Mobile < 880px)
   ============================================================ */

/* ============================================================
   Atkinson Hyperlegible — font zaprojektowany dla osób słabowidzących
   (Braille Institute), spójny z misją dostępności aplikacji.
   Self-hosted WOFF2, 100% offline, zero requestów zewnętrznych.
   ============================================================ */
/* v7: osobne podzbiory latin + latin-ext (wcześniej plik latin-ext bez liter a–z był pierwszy → tekst w czcionce zastępczej) */
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/atkinson-hyperlegible-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/atkinson-hyperlegible-latin-400.woff2') 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: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/atkinson-hyperlegible-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/atkinson-hyperlegible-latin-700.woff2') 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; }


/* ============================================================
   Sora — Display font dla nagłówków, liczb i elementów brandowych
   Self-hosted WOFF2 (latin + latin-ext), 100% offline.
   ============================================================ */


:root {
  /* Ciepła, wysoce czytelna i kontrastowa paleta */
  --bg: #fcf8f2;             /* ciepły, naturalny krem */
  --bg-2: #f4eae0;           /* delikatny podkład gradientu */
  --surface: #ffffff;        /* czysta biel kart */
  --surface-subtle: #fbf5ed; /* tło elementów pomocniczych */
  
  --ink: #18120c;            /* niemal czarny ciepły antracyt (kontrast >15:1 na bieli, >13:1 na kremie) */
  --ink-body: #261c14;       /* głęboki, bardzo kontrastowy tekst treści (kontrast >12:1) */
  --ink-soft: #382a1e;       /* wysoce czytelny ciemny brąz (kontrast >9.5:1) */
  --ink-muted: #4e3c2c;      /* pomocniczy tekst (kontrast >7:1) */

  /* Akcent ING Orange & pochodne */
  --accent: #ff6200;         /* oficjalny pomarańcz bezpieczeństwa */
  --accent-dark: #b83e00;    /* hover/active + tekst akcentowy (v5: 5,6:1 na bieli; było #d94e00 = 4,2:1) */
  --accent-active: #9a3300;
  --accent-ink: #ffffff;     /* biały tekst na pomarańczu (WCAG AA przy pogrubieniu >=18px) */
  --accent-soft: #fff3ec;    /* tło aktywne / zaznaczenie */
  --accent-border: #ffd5be;

  --focus: #004fb0;          /* wyrazisty kobaltowy focus ring (bardzo wysoki kontrast) */
  --track: #ebdccb;          /* tło wskaźników / łuków */
  --card-border: #e2d2be;    /* delikatna ciepła ramka */
  --card-border-hover: #ff6200;

  /* Dwupoziomowa miękka elewacja kart */
  --shadow-card: 0 2px 4px rgba(43, 33, 23, 0.04), 0 14px 34px rgba(43, 33, 23, 0.09);
  --shadow-hover: 0 4px 8px rgba(43, 33, 23, 0.06), 0 18px 36px rgba(43, 33, 23, 0.13);
  --shadow-sm: 0 1px 4px rgba(43, 33, 23, 0.05);

  /* Kolory stanów odporności */
  --risk: #c5221f;           /* Strefa Ryzyka */
  --risk-bg: #fef2f2;
  --risk-border: #fca5a5;

  --basic: #9a4a00;          /* Podstawy Opanowane */
  --basic-bg: #fffbeb;
  --basic-border: #fcd34d;

  --guard: #15803d;          /* Cyfrowy Strażnik */
  --guard-bg: #f0fdf4;
  --guard-border: #86efac;

  /* Promienie zaokrągleń i szerokości */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --maxw: 1080px;

  /* Domyślny bazowy rozmiar fontu (A) */
  --base-font-size: 118.75%;
}

/* Skalowanie rozmiaru tekstu A / A+ / A++ */
/* v5: w % (a nie px) — szanuje systemowy/przeglądarkowy rozmiar tekstu (16px → 19/22/25px; 20px → 24/28/31px) */
html[data-font-size="normal"] { --base-font-size: 118.75%; }
html[data-font-size="large"]  { --base-font-size: 137.5%; }
html[data-font-size="xlarge"] { --base-font-size: 156.25%; }

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  font-size: var(--base-font-size);
}

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 98, 0, 0.045) 0%, transparent 40%),
    radial-gradient(circle at 90% 92%, rgba(255, 98, 0, 0.035) 0%, transparent 45%),
    repeating-radial-gradient(circle at 50% 120px, transparent 0, transparent 48px, rgba(255, 98, 0, 0.02) 49px, rgba(255, 98, 0, 0.02) 50px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link dla czytników ekranowych */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-dark);
  color: var(--accent-ink);
  padding: 14px 22px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* Widoczny focus dla dostępności */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   NAGŁÓWEK STRONY & PRZEŁĄCZNIK ROZMIARU TEKSTU
   ============================================================ */
.site-header {
  width: 100%;
  background: rgba(252, 248, 242, 0.94);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-brand {
  display: flex;
  align-items: center;
}
.header-logo-text {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.text-size-control {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.text-size-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-body);
  padding: 0 6px 0 10px;
  display: none;
}
@media (min-width: 480px) {
  .text-size-label { display: inline; }
}

.btn-text-size {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-body);
  font-family: inherit;
  font-weight: 700;
  min-width: 40px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-text-size[data-size="large"] { font-size: 1.05rem; }
.btn-text-size[data-size="xlarge"] { font-size: 1.2rem; }

.btn-text-size:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}

.btn-text-size:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn-text-size.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent-dark);
}

/* ============================================================
   UKŁAD GŁÓWNY & EKRANY
   ============================================================ */
.app {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.screen {
  animation: screen-fade-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes screen-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Karty (wentylacja i miękka elewacja) */
.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
}
@media (min-width: 640px) {
  .card { padding: 40px 36px; }
}
@media (min-width: 880px) {
  .card { padding: 42px 38px; }
}

.card--intro { text-align: center; }

/* ============================================================
   BRAND BADGE & RADAR SWEEP (Z EFEKTEM 3D)
   ============================================================ */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.brand-badge-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff7ee;
  border: 1.5px solid var(--accent-border);
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  transform: perspective(400px) translateZ(0);
}
.brand-badge-mark svg {
  position: relative;
  z-index: 2;
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(255, 98, 0, 0.2));
}

.radar-sweep {
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 0deg,
    transparent 0% 70%,
    rgba(255, 98, 0, 0.18) 88%,
    rgba(255, 98, 0, 0.38) 100%
  );
  animation: radar-spin 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   TYPOGRAFIA (SORA DISPLAY + ATKINSON BODY)
   ============================================================ */
h1 {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  color: var(--ink);
}

.h1-highlight {
  color: var(--accent-dark);
  position: relative;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

h2 {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}

h3 {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}

.subtitle {
  font-size: 1.12rem;
  color: var(--ink-body);
  font-weight: 500;
  margin: 0 auto 28px;
  max-width: 58ch;
  line-height: 1.58;
}

/* ============================================================
   EKRAN 1: SPLIT-VIEW START (.start-split-grid)
   ============================================================ */
.start-split-grid,
.start-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.start-col-main {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.start-col-side {
  display: flex;
  flex-direction: column;
}

@media (min-width: 880px) {
  .start-split-grid,
  .start-split-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
  }

  .start-col-main {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .start-col-main .brand-badge {
    justify-content: flex-start;
  }

  .start-col-main .subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 48ch;
  }

  .start-col-side {
    justify-content: stretch;
  }

  .start-col-side .how-it-works {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface-subtle);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
  }

  .start-col-side .how-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .start-col-side .how-steps li {
    flex-direction: row;
    text-align: left;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
  }
}

/* ============================================================
   PUNKTY ZAUFANIA (3 KARTY Z IKONAMI W KÓŁKACH)
   ============================================================ */
.trust-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 700;
  min-height: 52px;
  box-shadow: var(--shadow-sm);
}

.trust-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(43, 33, 23, 0.05);
}
.trust-points li:nth-child(2) .trust-icon-wrap { color: var(--guard); }
.trust-points li:nth-child(3) .trust-icon-wrap { color: #b45309; }

.trust-text {
  flex: 1;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.32;
  font-size: 0.95rem;
}

@media (min-width: 600px) and (max-width: 879px) {
  .trust-points {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 14px;
  }
  .trust-points li {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 18px 12px;
  }
}

@media (min-width: 880px) {
  .start-col-main .trust-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
    text-align: center;
  }
  .start-col-main .trust-points li {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    min-height: 80px;
  }
  .start-col-main .trust-points .trust-icon-wrap {
    width: 34px;
    height: 34px;
  }
  .start-col-main .trust-points .trust-icon-wrap svg {
    width: 20px;
    height: 20px;
  }
  .start-col-main .trust-points .trust-text {
    font-size: 0.82rem;
    line-height: 1.25;
  }
}

.resume-note {
  margin: 14px 0 0;
  color: var(--ink-body);
  font-weight: 700;
  font-size: 0.98rem;
}

/* ============================================================
   JAK TO DZIAŁA (3 KROKI)
   ============================================================ */
.how-it-works {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  text-align: left;
}

.how-title {
  font-size: 1.25rem;
  text-align: center;
  margin: 0 0 18px;
  color: var(--ink);
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.how-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 52px;
}

.how-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(255, 98, 0, 0.28);
}

.how-content {
  flex: 1;
}

.how-text {
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  font-size: 0.96rem;
}

@media (min-width: 600px) and (max-width: 879px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .how-steps li {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 18px 12px;
  }
}

/* ============================================================
   PASMO FAKTÓW NA EKRANIE STARTOWYM
   ============================================================ */
.facts-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1.5px solid var(--card-border);
  text-align: left;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.fact-card {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-top: 3.5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.fact-number {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.fact-desc {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.92rem;
  color: var(--ink-body);
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

/* ============================================================
   PRZYCISKI (BUTTONS & THUMB ZONE)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.08s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.btn--large {
  font-size: 1.12rem;
  padding: 16px 26px;
  width: 100%;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent-dark);
}
.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(255, 98, 0, 0.35);
}
.btn--primary:active {
  transform: translateY(1px) scale(0.99);
  background: var(--accent-active);
}

.btn--secondary {
  background: var(--surface-subtle);
  color: var(--ink);
  border: 2px solid var(--card-border);
}
.btn--secondary:hover {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent-dark);
}
.btn--secondary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent-dark);
}
.btn--ghost:active {
  transform: translateY(1px);
}

/* ============================================================
   PASEK POSTĘPU (PROGRESS BAR)
   ============================================================ */
.progress-wrap {
  margin: 4px 0 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.progress-pct {
  color: var(--ink-body);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.progress-bar {
  height: 14px;
  background: var(--track);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.progress-fill {
  display: block;
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   EKRAN 2: SPLIT-VIEW PYTANIA (.question-split-layout)
   ============================================================ */
.card--question {
  padding: 24px 20px;
}
@media (min-width: 640px) {
  .card--question { padding: 32px 28px; }
}

.question-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.question-col-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.question-col-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (min-width: 880px) {
  .question-split-layout {
    grid-template-columns: minmax(300px, 1.25fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: stretch;
  }

  .question-col-context {
    position: sticky;
    top: 76px;
    min-height: 420px;
  }

  .question-mockup {
    min-height: 420px;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .question-mockup > * {
    width: 100%;
    max-width: none;
  }
}

/* ============================================================
   MINI-MOCKUPY SCENARIUSZY ATAKÓW W PYTANIACH
   ============================================================ */
.question-mockup {
  margin-bottom: 0;
  width: 100%;
  animation: mockup-pop 0.25s ease-out;
}
.question-col-context {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 98, 0, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #fff7ee 0%, var(--surface-subtle) 100%);
  border: 1.5px solid var(--card-border);
  border-radius: 28px;
  padding: 16px 12px 18px;
  box-shadow: var(--shadow-sm);
}
.question-mockup[hidden] {
  display: none !important;
}

@keyframes mockup-pop {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Karta kontekstowa dla pytań teoretycznych / bez symulacji ataku */
.mockup-context-card {
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  width: 100%;
}
.mockup-context-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(43, 33, 23, 0.08);
}
.mockup-context-domain {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.mockup-context-desc {
  font-size: 0.96rem;
  color: var(--ink-body);
  font-weight: 600;
  line-height: 1.48;
  margin: 0;
  max-width: 36ch;
}

/* Mockup SMS (P2) */
.mockup-sms {
  background: #fdfaf6;
  border: 2px solid #dfcfbc;
  border-radius: 14px;
  padding: 14px 16px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.mockup-sms-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-body);
  border-bottom: 1px solid #ebdcc9;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.mockup-sms-bubble {
  background: #ffffff;
  border: 1.5px solid #dfcfbc;
  border-radius: 12px 12px 12px 2px;
  padding: 12px 14px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #18120c;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.mockup-sms-link {
  color: #0051ba;
  text-decoration: underline;
  word-break: break-all;
  font-weight: 700;
}

/* Mockup Paska Adresu (P5) */
.mockup-browser {
  min-height: 240px;
  background: #fdfaf6;
  border: 2px solid #dfcfbc;
  border-radius: 14px;
  padding: 12px 16px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #d4c3af;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.94rem;
  color: #8b2500;
  word-break: break-all;
}
.mockup-browser-icon {
  color: var(--risk);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.mockup-pay-body {
  margin-top: 10px;
  background: #fff;
  border: 1.5px solid #dfcfbc;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
}
.mockup-pay-logo {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.mockup-pay-row {
  font-weight: 700;
  margin-bottom: 8px;
}
.mockup-pay-warn {
  color: #8b2500;
  font-weight: 800;
  font-size: 0.88rem;
  background: #fff1e8;
  border: 1px solid #ffb080;
  border-radius: 8px;
  padding: 6px 8px;
}

.mockup-ad {
  min-height: 280px;
  width: 100%;
  background: #18120c;
  color: #f7f1e8;
  border: 2px solid #c9a227;
  border-radius: 14px;
  padding: 16px 16px 18px;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.mockup-ad-tag {
  display: inline-block;
  background: #e8c547;
  color: #18120c;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.mockup-ad-headline {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: #e8c547;
}
.mockup-ad-sub {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.4;
}
.mockup-ad-cta {
  display: inline-block;
  background: #ff6200;
  color: #fff;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
}

.mockup-email {
  min-height: 240px;
  width: 100%;
  background: #fff;
  border: 2px solid #dfcfbc;
  border-radius: 14px;
  padding: 12px 14px 14px;
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.mockup-email-row {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  word-break: break-word;
}
.mockup-email-row span {
  color: var(--ink-muted);
  font-weight: 700;
  margin-right: 6px;
}
.mockup-email-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ebdcc9;
  font-weight: 700;
  line-height: 1.4;
}
.mockup-phone-act {
  min-height: 240px;
  width: 100%;
  background: var(--surface-subtle);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}
.mockup-phone-act strong {
  display: block;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

/* Mockup Rozmowy Telefonicznej & Audio Deepfake (P7) */
.mockup-call {
  background: #fdfaf6;
  border: 2px solid #dfcfbc;
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.mockup-call-tag {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 10px;
}
.mockup-call-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.mockup-call-header svg {
  color: var(--accent);
  flex-shrink: 0;
}
.mockup-call-prompt {
  font-size: 0.96rem;
  color: var(--ink-body);
  margin: 0 0 10px;
  line-height: 1.45;
  font-weight: 600;
}
.mockup-audio-player {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-sm);
  outline: none;
  background: #fbf5ed;
}

/* 3 Czerwone Flagi (po odsłuchaniu audio) */
.call-red-flags {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ebdcc9;
  animation: flags-pop 0.3s ease-out;
}
@keyframes flags-pop {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.red-flags-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--risk);
  font-size: 0.96rem;
  margin-bottom: 8px;
}
.red-flags-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.red-flags-list li {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-left: 5px solid var(--risk);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(197, 34, 31, 0.06);
}

/* Mockup Alertu Systemowego (P8) */
.mockup-alert {
  min-height: 240px;
  background: #fff8f5;
  border: 2px solid #f87171;
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.12);
}
.mockup-alert-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #b91c1c;
  margin-bottom: 6px;
}
.mockup-alert-msg {
  font-size: 0.94rem;
  color: #3f1a04;
  margin: 0;
  line-height: 1.42;
}

/* ============================================================
   TREŚĆ PYTANIA I KAFELKI ODPOWIEDZI
   ============================================================ */
.question-text,
#question-heading {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ink);
}

.keyboard-hint {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-body);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.answers {
  display: grid;
  gap: 14px;
}

.answer {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  text-align: left;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1.08rem;
  line-height: 1.45;
  background: var(--surface-subtle);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  perspective: 800px;
  transform: translateY(0) translateZ(0);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s ease, background-color 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.answer:hover {
  transform: translateY(-2px) translateZ(4px);
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: var(--shadow-hover);
}

.answer:active {
  transform: translateY(0px) scale(0.995);
}

.answer.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-hover);
}

.answer-marker {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(43, 33, 23, 0.05);
}

.answer.is-selected .answer-marker {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent-dark);
}

.answer-label {
  flex: 1;
  font-weight: 700;
  color: var(--ink);
}

.nav-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
}
.nav-row .btn {
  min-width: 130px;
  min-height: 48px;
  padding: 10px 20px;
  font-size: 1rem;
}

/* ============================================================
   EKRAN 3: SPLIT-VIEW WYNIK (.result-dashboard-grid)
   ============================================================ */
.card--result {
  text-align: center;
}

.result-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.result-col-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.result-col-radar {
  display: flex;
  flex-direction: column;
  text-align: left;
}

@media (min-width: 880px) {
  .result-dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .result-col-radar .radar-chart-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

/* GAUGE & 3D TARCZA */
.gauge {
  position: relative;
  max-width: 300px;
  width: 100%;
  margin: 10px auto 8px;
}

.gauge-value {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
}

#score-number {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: 3.2rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.gauge-max {
  font-size: 1.3rem;
  color: var(--ink-body);
  font-weight: 700;
}

#gauge-arc {
  transition: stroke-dashoffset 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
#gauge-arc.level-risk { stroke: var(--risk); }
#gauge-arc.level-basic { stroke: var(--basic); }
#gauge-arc.level-guard { stroke: var(--guard); }

.level-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 10px 0 16px;
}

.level-badge-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(43, 33, 23, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.25), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  transform: perspective(600px) rotateX(4deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.level-badge-circle:hover {
  transform: perspective(600px) rotateX(0deg) scale(1.04);
}

.level-badge.level-risk .level-badge-circle {
  background: var(--risk);
  box-shadow: 0 8px 24px rgba(197, 34, 31, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
.level-badge.level-basic .level-badge-circle {
  background: var(--basic);
  box-shadow: 0 8px 24px rgba(194, 94, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}
.level-badge.level-guard .level-badge-circle {
  background: var(--guard);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.level-glyph { display: none; }
.level-badge.level-risk .level-glyph--risk,
.level-badge.level-basic .level-glyph--basic,
.level-badge.level-guard .level-glyph--guard {
  display: block;
}

.result-level {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.result-level.level-risk { color: var(--risk); }
.result-level.level-basic { color: var(--basic); }
.result-level.level-guard { color: var(--guard); }

.result-text {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
  text-align: left;
  max-width: 60ch;
  margin: 0 auto 16px;
  line-height: 1.58;
}

/* KONTENER AKCJI POD WYNIKIEM */
.result-actions {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.result-actions .btn {
  width: 100%;
}

/* ============================================================
   WYKRES RADAROWY 5 DOMEN BEZPIECZEŃSTWA
   ============================================================ */
.radar-chart-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  text-align: left;
  width: 100%;
}

.radar-chart-title {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.radar-chart-subtitle {
  font-size: 1rem;
  text-align: center;
  color: var(--ink-body);
  font-weight: 500;
  margin: 0 auto 20px;
  max-width: 54ch;
}

.radar-chart-layout {
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 680px) and (max-width: 879px) {
  .radar-chart-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.radar-chart-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
}

.radar-chart-visual svg {
  max-width: 100%;
  height: auto;
  overflow: visible;
}

/* Lista szczegółowa domen */
.radar-domains-breakdown {
  display: grid;
  gap: 10px;
}

.domain-item {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
}

.domain-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.domain-name {
  color: var(--ink);
}

.domain-pct {
  color: var(--accent-dark);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.domain-bar-track {
  height: 9px;
  background: var(--track);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.domain-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.domain-item[data-status="perfect"] .domain-bar-fill { background: var(--guard); }
.domain-item[data-status="perfect"] .domain-pct { color: var(--guard); }
.domain-item[data-status="warning"] .domain-bar-fill { background: var(--basic); }
.domain-item[data-status="warning"] .domain-pct { color: var(--basic); }
.domain-item[data-status="danger"] .domain-bar-fill { background: var(--risk); }
.domain-item[data-status="danger"] .domain-pct { color: var(--risk); }

/* ============================================================
   SEKCJA RAD / UTRACONYCH PUNKTÓW (WYSOKI KONTRAST & HIERARCHIA)
   ============================================================ */
.tips-section {
  margin-top: 32px;
  text-align: left;
  border-top: 1px solid var(--card-border);
  padding-top: 26px;
  width: 100%;
}

.tips-title {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .tips-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.tips-list li {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.tip-scenario {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.tip-text {
  color: var(--ink-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.54;
}

/* ============================================================
   CTA ROW & PRZYCISKI KOŃCOWE
   ============================================================ */
.cta-row {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  width: 100%;
}

#btn-workshop {
  width: 100%;
}

/* ============================================================
   A++ OVERRIDE (TRYB BARDZO DUŻYCH LITER — REDUKCJA DO 1 KOLUMNY)
   ============================================================ */
html[data-font-size="xlarge"] .start-split-grid,
html[data-font-size="xlarge"] .start-split-layout,
html[data-font-size="xlarge"] .question-split-layout,
html[data-font-size="xlarge"] .result-dashboard-grid,
html[data-font-size="xlarge"] .tips-list,
html[data-font-size="xlarge"] .procedure-list,
html[data-font-size="xlarge"] .radar-chart-layout,
html[data-font-size="xlarge"] .trust-points,
html[data-font-size="xlarge"] .how-steps,
html[data-font-size="xlarge"] .facts-grid {
  grid-template-columns: 1fr !important;
}

html[data-font-size="xlarge"] .start-col-main {
  text-align: center !important;
}

html[data-font-size="xlarge"] .start-col-main .brand-badge {
  justify-content: center !important;
}

html[data-font-size="xlarge"] .start-col-main .subtitle {
  margin-left: auto !important;
  margin-right: auto !important;
}

html[data-font-size="xlarge"] .question-col-context {
  position: static !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  text-align: center;
  padding: 26px 18px 40px;
  color: var(--ink-body);
  font-size: 0.98rem;
  font-weight: 700;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ============================================================
   CANVAS CONFETTI
   ============================================================ */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   REDUCED MOTION (DOSTĘPNOŚĆ)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .radar-sweep { animation: none; opacity: 0; }
  .progress-fill,
  #gauge-arc,
  .domain-bar-fill { transition: none !important; }
  .btn,
  .answer {
    transition: none !important;
    transform: none !important;
  }
  .answer:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .level-badge-circle {
    transform: none !important;
  }
  .level-badge-circle:hover {
    transform: none !important;
  }
  .btn:active,
  .answer:active { transform: none !important; }
  .question-mockup,
  .call-red-flags { animation: none !important; }
}

/* ============================================================
   PASEK PROCEDURY REAGOWANIA (JEŚLI COŚ CIĘ ZANIEPOKOI)
   ============================================================ */
.response-procedure-card {
  background: var(--surface-subtle);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0 20px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.procedure-title {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.procedure-title svg {
  color: var(--accent);
  flex-shrink: 0;
}

.procedure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .procedure-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.procedure-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-body);
  line-height: 1.45;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.proc-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.proc-text {
  flex: 1;
}
.proc-text strong {
  color: var(--ink);
}

.procedure-bank-tip {
  margin-top: 14px;
  padding: 12px 16px;
  background: #fff8f0;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-body);
}
.procedure-bank-tip p {
  margin: 0;
}
.procedure-bank-tip strong {
  color: var(--accent-dark);
}

/* ============================================================
   KONTENER ŚCIĄGAWKI NA EKRANIE (UKRYTY)
   ============================================================ */
.print-sheet {
  display: none !important;
}

/* ============================================================
   REDUCED MOTION (DOSTĘPNOŚĆ)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .radar-sweep { animation: none; opacity: 0; }
  .progress-fill,
  #gauge-arc,
  .domain-bar-fill { transition: none !important; }
  .btn,
  .answer {
    transition: none !important;
    transform: none !important;
  }
  .answer:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .level-badge-circle {
    transform: none !important;
  }
  .level-badge-circle:hover {
    transform: none !important;
  }
  .btn:active,
  .answer:active { transform: none !important; }
  .question-mockup,
  .call-red-flags { animation: none !important; }
}

/* ============================================================
   DRUK / EKSPORT PDF (@media print) — ŚCIĄGAWKA NA LODÓWKĘ A4
   ============================================================ */
@media print {
  @page {
    margin: 10mm;
    size: A4 portrait;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
    line-height: 1.35;
    margin: 0 !important;
    padding: 0 !important;
  }
  .skip-link,
  .site-header,
  .site-footer,
  .radar-sweep,
  .no-print,
  .demo-badge,
  #screen-start,
  #screen-test,
  #screen-report,
  #screen-demo-call,
  .card--result,
  .progress-wrap,
  .nav-row,
  .confetti-canvas,
  .card-canvas {
    display: none !important;
  }

  #main,
  .app,
  #screen-result {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .print-sheet {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #18120c;
    border-radius: 10px;
    padding: 14px 18px;
    font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .print-sheet-header {
    text-align: center;
    border-bottom: 2px solid #18120c;
    padding-bottom: 6px;
    margin-bottom: 10px;
  }
  .print-sheet-title {
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 2px;
    color: #18120c;
    letter-spacing: -0.01em;
  }
  .print-sheet-subtitle {
    font-size: 0.88rem;
    color: #382a1e;
    font-weight: 600;
    margin: 0;
  }

  .print-score-box {
    background: #fbf5ed;
    border: 1.5px solid #18120c;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-score-box[hidden] {
    display: none !important;
  }
  .print-score-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .print-score-label {
    font-weight: 700;
    color: #18120c;
  }
  .print-score-val {
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
    font-weight: 800;
    color: #ff6200;
  }
  .print-level-val {
    font-weight: 700;
    color: #18120c;
  }

  .print-rules-section {
    border: 1.5px solid #18120c;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 10px;
  }
  .print-rules-title {
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #d4c3af;
    padding-bottom: 4px;
    color: #18120c;
  }
  .print-rules-list {
    margin: 0;
    padding-left: 20px;
  }
  .print-rules-list li {
    margin-bottom: 5px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #18120c;
  }
  .print-rules-list li:last-child {
    margin-bottom: 0;
  }

  .print-highlight-box {
    border: 2px dashed #18120c;
    background: #fff8f3;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-box-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .print-highlight-body strong {
    color: #b83e00;
  }

  .print-contact-box {
    border: 1.5px solid #18120c;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    background: #ffffff;
  }
  .print-contact-label {
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    color: #18120c;
  }
  .print-contact-line {
    display: block;
    color: #555555;
    letter-spacing: 1.5px;
    overflow: hidden;
    white-space: nowrap;
  }

  .print-sheet-footer {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    color: #4e3c2c;
    border-top: 1px solid #d4c3af;
    padding-top: 6px;
    margin-top: 4px;
  }
}

/* ============================================================
   START ACTIONS + DEMO RESULT CTA
   ============================================================ */
.start-actions {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0 0 4px;
}
.start-actions .btn--large {
  width: 100%;
}
#btn-demo-result {
  background: #18120c;
  color: #e8c547;
  border-color: #c9a227;
  box-shadow: 0 4px 14px rgba(24, 18, 12, 0.18);
}
#btn-demo-result:hover {
  background: #2a2118;
  color: #f5d76e;
  border-color: #e8c547;
  box-shadow: 0 6px 18px rgba(24, 18, 12, 0.28);
}
#btn-demo-delta {
  background: #fff;
  color: var(--ink);
}

/* ============================================================
   BADGE WYNIKU PRZYKŁADOWEGO (CZARNY / ZŁOTY)
   ============================================================ */
.demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 18px;
  padding: 12px 18px;
  background: #18120c;
  color: #e8c547;
  border: 2px solid #c9a227;
  border-radius: var(--radius-sm);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(24, 18, 12, 0.22);
}
.demo-badge[hidden] {
  display: none !important;
}

/* ============================================================
   SYMULACJE SMS (PIERWSZE 3 PYTANIA)
   ============================================================ */
.sim-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 6px 14px;
  background: #18120c;
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-pill);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 2px 0 var(--accent-dark);
}
.sim-tag--loud {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-dark);
  font-size: 0.88rem;
  margin: 0 auto 12px;
  align-self: center;
}
.sim-tag[hidden] {
  display: none !important;
}

.card--question.is-sim .question-text {
  font-size: clamp(1.22rem, 2.3vw, 1.55rem);
}

/* Ramka telefonu — czysty CSS, bez obrazków z sieci */
.sim-phone {
  background: #18120c;
  border-radius: 36px;
  padding: 14px 12px 20px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(24, 18, 12, 0.32), inset 0 1px 0 rgba(255, 98, 0, 0.28);
  color: #f7f1e8;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.sim-phone-notch {
  width: 86px;
  height: 8px;
  background: #2c241c;
  border-radius: 8px;
  margin: 2px auto 10px;
}
.sim-phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e8c547;
  padding: 0 8px 8px;
  letter-spacing: 0.04em;
}
.sim-phone-screen {
  background: #fbf6ea;
  border-radius: 22px;
  padding: 16px 14px 18px;
  color: #18120c;
  min-height: 260px;
  flex: 1;
}
.sim-phone-sender {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2d2be;
}
.sim-avatar {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #3a2a1c;
  border: 2px solid var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(255, 98, 0, 0.25);
}
.sim-avatar svg {
  width: 44px;
  height: 44px;
  display: block;
}
.sim-avatar .avatar-mark {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fbf6ea;
  line-height: 1;
}
.sim-sender-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #18120c;
  line-height: 1.2;
}
.sim-sender-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b542e;
}
.sim-sms-bubble {
  background: #ffffff;
  border: 1.5px solid #e2d2be;
  border-radius: 4px 16px 16px 16px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #18120c;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(24, 18, 12, 0.06);
}
.sim-sms-link {
  display: inline-block;
  margin-top: 6px;
  color: #004fb0;
  text-decoration: underline;
  word-break: break-all;
  font-weight: 800;
  font-size: 0.88rem;
}
.sim-sms-urgent {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  background: #fef2f2;
  color: #c5221f;
  border: 1px solid #fca5a5;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Lekcja po decyzji */
.sim-lesson {
  text-align: left;
  background: var(--surface-subtle);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  animation: mockup-pop 0.25s ease-out;
}
.sim-lesson[hidden] {
  display: none !important;
}
.sim-lesson-verdict {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sim-lesson.is-correct .sim-lesson-verdict {
  background: var(--guard-bg);
  color: var(--guard);
  border: 1px solid var(--guard-border);
}
.sim-lesson.is-wrong .sim-lesson-verdict {
  background: var(--risk-bg);
  color: var(--risk);
  border: 1px solid var(--risk-border);
}
.sim-lesson-title {
  font-size: 1.18rem;
  margin: 0 0 8px;
}
.sim-lesson-lead {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--ink-body);
  line-height: 1.45;
}
.sim-lesson-signals {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sim-lesson-signals li {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-left: 5px solid var(--risk);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
}
.sim-lesson .btn {
  width: 100%;
}

.card--question.is-sim .answers .answer {
  min-height: 64px;
}
.card--question.is-sim .answer-label {
  font-size: 1.12rem;
}

/* ============================================================
   DWA NAJSŁABSZE OBSZARY (WYNIK)
   ============================================================ */
.weakest-section {
  margin-top: 28px;
  text-align: left;
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  width: 100%;
}
.weakest-section[hidden] {
  display: none !important;
}
.weakest-title {
  font-size: 1.28rem;
  margin: 0 0 14px;
  text-align: left;
}
.weakest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.weakest-list li {
  background: #18120c;
  color: #f7f1e8;
  border: 1.5px solid #c9a227;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.weakest-name {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  color: #e8c547;
  margin-bottom: 4px;
  font-size: 1.02rem;
}
.weakest-pct {
  font-variant-numeric: tabular-nums;
  color: #f5d76e;
}
.weakest-rec {
  color: #f7f1e8;
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.98rem;
}

html[data-font-size="xlarge"] .weakest-list,
html[data-font-size="xlarge"] .start-actions {
  grid-template-columns: 1fr !important;
}

@media (prefers-reduced-motion: reduce) {
  .sim-lesson { animation: none !important; }
}


/* ============================================================
   P7 — EKRAN POŁĄCZENIA (DEEPFAKE / WNUCZEK)
   ============================================================ */
.visually-hidden-audio {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.call-screen {
  background: #18120c;
  color: #f7f1e8;
  border-radius: 36px;
  padding: 14px 12px 18px;
  box-shadow: 0 18px 40px rgba(24, 18, 12, 0.34), inset 0 1px 0 rgba(255, 98, 0, 0.28);
  border: 2px solid #3a2a1c;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.call-phone-notch {
  width: 92px;
  height: 8px;
  background: #2c241c;
  border-radius: 8px;
  margin: 2px auto 10px;
}
.call-status {
  margin: 0 0 8px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd5be;
}
.call-screen-tag {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 auto 12px;
  border: 1px solid var(--accent-dark);
}
.call-incoming {
  background: linear-gradient(180deg, #2a2118 0%, #1c1610 100%);
  border-radius: 22px;
  padding: 20px 14px 22px;
  border: 1px solid rgba(255, 98, 0, 0.35);
}
.call-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #3a2a1c;
  border: 3px solid var(--accent);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(255, 98, 0, 0.18);
}
.call-avatar svg {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: block;
}
.call-avatar .avatar-mark {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #18120c;
  line-height: 1;
}
.call-name {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.call-number {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffd5be;
}
.call-teaser {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 14px;
  background: #fcf8f2;
  color: #b83e00;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
}
.call-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 48px;
  margin: 0 0 8px;
}
.call-wave span {
  display: block;
  width: 5px;
  height: calc(10px + (var(--i) % 5) * 6px);
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.55;
}
.call-screen.is-playing .call-wave span {
  animation: call-wave-bar 0.7s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.05s);
  opacity: 1;
  background: #ff8a3d;
}
@keyframes call-wave-bar {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1.25); }
}
.call-time-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffd5be;
  font-size: 1rem;
  margin-bottom: 12px;
}
.call-time-sep { color: #a89068; }
.btn-call-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  min-width: 200px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 98, 0, 0.35);
}
.btn-call-play:hover {
  background: var(--accent-dark);
}
.btn-call-play:focus-visible {
  outline: 3px solid #8ec8ff;
  outline-offset: 3px;
}
.call-screen.is-playing .btn-call-play {
  background: #fcf8f2;
  color: #b83e00;
  border-color: var(--accent);
}
.call-transcript {
  list-style: none;
  margin: 12px 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
  text-align: left;
  min-height: 4.5em;
}
.call-play-icon {
  fill: currentColor;
  flex-shrink: 0;
}
.call-line {
  background: #2a2118;
  border: 1px solid rgba(255, 98, 0, 0.35);
  border-radius: 10px 10px 10px 2px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #f7f1e8;
}
.call-line.is-on {
  animation: mockup-pop 0.25s ease-out;
}
.call-flags-hint {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #2a2118;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  color: #ffd5be;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  min-height: 3.2em;
}
.call-flags-hint[hidden],
.call-line[hidden],
.call-ai-teach[hidden] {
  display: none !important;
}
.call-screen .call-red-flags {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 98, 0, 0.35);
  text-align: left;
}
.call-screen .red-flags-head {
  color: #ffd5be;
}
.call-screen .red-flags-list li {
  background: #2a2118;
  border-color: #c5221f;
  color: #f7f1e8;
}

.call-ai-teach {
  margin-top: 12px;
  padding: 16px 16px 14px;
  background: #fcf8f2;
  color: #18120c;
  border-radius: 16px;
  border: 2px solid var(--accent);
  text-align: left;
  box-shadow: 0 8px 20px rgba(24, 18, 12, 0.22);
}
.call-ai-teach-title {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: clamp(1.12rem, 2.4vw, 1.32rem);
  font-weight: 800;
  line-height: 1.25;
  color: #b83e00;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.call-ai-teach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.call-ai-teach-list li {
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: #18120c;
}

.card--question.is-call .question-col-context,
.card--question.is-sim .question-col-context {
  min-height: 420px;
}

@media (prefers-reduced-motion: reduce) {
  .call-screen.is-playing .call-wave span,
  .call-line.is-on {
    animation: none !important;
  }
}

/* Demo 90s — dedicated non-scored call screen */
#screen-demo-call[hidden] {
  display: none !important;
}
.card--demo-call {
  text-align: center;
  padding: 24px 18px 28px;
}
.demo-call-lead {
  margin: 0 auto 18px;
  max-width: 36ch;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-body);
  line-height: 1.4;
}
.demo-call-mount {
  width: 100%;
  max-width: 460px;
  margin: 0 auto 22px;
}
.demo-call-mount .call-screen {
  max-width: none;
}
.demo-call-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 28rem;
  margin: 0 auto;
  width: 100%;
}


/* ============================================================
   KOD PLACÓWKI, TRYB WE DWOJE, PORÓWNANIE
   ============================================================ */
.anon-code-wrap {
  text-align: left;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--surface-subtle);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-sm);
}
.anon-code-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.anon-code-wrap input {
  width: 8.5rem;
  min-height: 48px;
  font-size: 1.35rem;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-align: center;
  border: 2px solid var(--card-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.anon-code-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 600;
  line-height: 1.35;
}
.full-test-wrap {
  margin: 10px 0 0;
  font-size: 0.92rem;
}
.btn-text-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
a.btn-text-link { color: var(--accent-dark); }

.duo-banner {
  background: #18120c;
  color: #e8c547;
  border: 1.5px solid #c9a227;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
}
.duo-banner[hidden] { display: none !important; }

.duo-badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 14px;
  background: #18120c;
  color: #e8c547;
  border: 1.5px solid #c9a227;
  border-radius: 999px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}

.quick-result-note {
  text-align: left;
  font-weight: 600;
  color: var(--ink-body);
  margin: 0 0 12px;
}
.quick-result-note[hidden] { display: none !important; }

.compare-lead { margin-bottom: 20px; }
.compare-scores {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 20px;
}
.compare-card.is-delta {
  background: #fff8f0;
  color: #18120c;
  border-color: #ff6200;
}
.compare-card.is-delta .compare-who { color: #9a4a00; }
.compare-card.is-delta .compare-num { color: #b83e00; }
.compare-card.is-delta .compare-num.is-up { color: #0f7a3f; }
.compare-card.is-delta .compare-num.is-down { color: #b42318; }
.compare-card.is-delta .compare-max { color: #3d2e20; }
.compare-num.is-up { color: #0f7a3f; }
.compare-num.is-down { color: #b42318; }
.compare-domains {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  text-align: left;
}
.compare-domain {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 70px 70px 80px;
  gap: 8px;
  align-items: center;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}
.compare-domain-name { font-weight: 800; }
.compare-domain-d.is-up { color: #0f7a3f; }
.compare-domain-d.is-down { color: #b42318; }
.compare-code-note {
  font-weight: 700;
  color: var(--ink-body);
  margin: 0 0 16px;
}
#btn-after-test { width: 100%; }
.compare-card {
  background: #18120c;
  color: #f7f1e8;
  border: 1.5px solid #c9a227;
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}
.compare-who {
  display: block;
  font-weight: 800;
  color: #e8c547;
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.compare-num {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1;
}
.compare-max { font-weight: 700; color: #ddd2be; }
.compare-disagree { text-align: left; }
.compare-diff-title { margin: 0 0 10px; }
.compare-diff-item {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-left: 5px solid #c9a227;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.compare-diff-q { font-weight: 800; margin: 0 0 6px; }
.compare-diff-item p { margin: 0 0 4px; }

.domain-item[data-status="untested"] .domain-pct { color: var(--ink-muted); }
.domain-item[data-status="untested"] .domain-bar-fill { background: #d9cbb8; }

@media (max-width: 720px) {
  .compare-scores { grid-template-columns: 1fr; }
  .compare-domain {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name name"
      "pre post"
      "d d";
  }
  .compare-domain-name { grid-area: name; }
}

@media print {
  .duo-banner,
  .duo-badge,
  #screen-compare,
  #screen-report,
  .anon-code-wrap,
  .full-test-wrap {
    display: none !important;
  }
}

/* ============================================================
   LANDING v2 — DWUWARSTWOWY START
   Hero seniorski (63 mln + jeden CTA) + jak to działa / gdzie to działa
   Ciepły krem + ING #ff6200. Zero ciemnego SaaS.
   ============================================================ */

#screen-start {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
#screen-start[hidden] {
  display: none !important;
}

.hero-card {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .brand-badge {
  margin-bottom: 10px;
}

.hero-kicker {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: var(--ink-body);
  max-width: 36ch;
  line-height: 1.35;
}

.hero-number {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(3.1rem, 12vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero-number-value {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 62%, rgba(255, 98, 0, 0.22) 62%, rgba(255, 98, 0, 0.22) 92%, transparent 92%);
}

.hero-source {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.hero-lead {
  margin: 18px 0 26px;
  font-size: clamp(1.22rem, 3.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink);
  max-width: 22ch;
}

.hero .start-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 28rem;
  margin: 0;
}

.hero .btn--hero {
  width: 100%;
  min-height: 68px;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 22px rgba(255, 98, 0, 0.32);
}

.hero #btn-demo-delta {
  width: 100%;
  min-height: 56px;
  background: #ffffff;
  color: var(--ink);
  border-color: var(--accent);
  font-size: 1.05rem;
}

.hero #btn-demo-delta:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.start-text-link-wrap {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 8px;
  max-width: 28rem;
}

.start-text-link-sep {
  color: var(--ink-muted);
  font-weight: 800;
}

#screen-start #btn-demo-result,
#screen-start #btn-demo-result.btn-text-link,
#screen-start #btn-demo-report,
#screen-start #btn-demo-report.btn-text-link {
  background: none;
  color: var(--accent-dark);
  border: none;
  box-shadow: none;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  width: auto;
}

#screen-start #btn-demo-result:hover,
#screen-start #btn-demo-report:hover {
  background: none;
  color: var(--accent-active);
}

/* --- Audio teaser (nie startuje testu, bez autoplay) --- */
.audio-teaser {
  margin-top: 18px;
  width: 100%;
  max-width: 28rem;
}

.incoming-teaser-card {
  background: #18120c;
  color: #f7f1e8;
  border-radius: 22px;
  padding: 18px 16px 16px;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 24px rgba(24, 18, 12, 0.22);
  text-align: center;
}
.incoming-teaser-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.incoming-teaser-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(255, 98, 0, 0.18);
}
.incoming-teaser-avatar svg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
}
.incoming-teaser-avatar .avatar-mark {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #18120c;
  line-height: 1;
}
.incoming-teaser-name {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}
.incoming-teaser-num {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffd5be;
}
.incoming-teaser-synth {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fcf8f2;
  background: #2a2118;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 8px 10px;
}

.incoming-teaser .btn-audio-teaser {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

.incoming-teaser .btn-audio-teaser:hover {
  border-color: var(--accent-active);
  background: var(--accent-dark);
}

.incoming-teaser .btn-audio-teaser.is-playing {
  border-style: solid;
  border-color: var(--accent);
  background: #fcf8f2;
  color: #b83e00;
}

.incoming-teaser .audio-teaser-icon {
  flex-shrink: 0;
  fill: currentColor;
  color: inherit;
}

.audio-teaser-label {
  line-height: 1.3;
}

.audio-teaser-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  line-height: 1.35;
}

.incoming-teaser-enter {
  margin: 10px 0 0;
}

.incoming-teaser-enter .btn-text-link {
  min-height: 44px;
  padding: 8px 4px;
  font-size: 1.05rem;
}

/* --- Kod z warsztatu za disclosure --- */
.anon-code-disclosure {
  width: 100%;
  max-width: 28rem;
  margin: 16px 0 0;
  text-align: left;
}

.anon-code-disclosure > summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink-body);
  font-size: 1rem;
  padding: 10px 4px;
  min-height: 44px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.anon-code-disclosure > summary::-webkit-details-marker {
  display: none;
}

.anon-code-disclosure > summary::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-right: 2.5px solid var(--accent-dark);
  border-bottom: 2.5px solid var(--accent-dark);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.anon-code-disclosure[open] > summary::before {
  transform: rotate(45deg);
}

.anon-code-disclosure .anon-code-wrap {
  margin: 0;
}

/* --- Trust, mniejszy, nie konkuruje z CTA --- */
.trust-points--compact {
  margin-top: 18px;
  width: 100%;
  max-width: 32rem;
  gap: 8px;
}

.trust-points--compact li {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 4px 6px;
  min-height: 0;
  gap: 8px;
}

.trust-points--compact .trust-icon-wrap {
  width: 28px;
  height: 28px;
  box-shadow: none;
}

.trust-points--compact .trust-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-body);
}

@media (min-width: 600px) {
  .trust-points--compact {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }
  .trust-points--compact li {
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
  }
}

/* --- Pasma JAK TO DZIAŁA / GDZIE TO DZIAŁA --- */
.landing-band {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 20px;
  text-align: left;
}

.landing-band--method {
  border-top: 4px solid var(--accent);
}

.landing-band--scale {
  background: var(--surface-subtle);
  border-top: 4px solid #c25e00;
}

.landing-band-title {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  line-height: 1.25;
}

.method-pictos {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.method-pictos li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
}

.method-picto-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}

.method-picto-label {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.method-visuals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.method-radar {
  margin: 0;
  position: relative;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px 18px 14px;
  min-width: 0;
  overflow: visible;
}

.method-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-block;
  padding: 3px 10px;
  border: 1.5px solid var(--accent-dark);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  line-height: 1.4;
}

.method-radar-svg {
  display: block;
  width: min(100%, 320px);
  max-width: 100%;
  height: auto;
  min-width: min(100%, 280px);
  min-height: 280px;
  overflow: visible;
  margin: 0 auto;
}

@media (max-width: 420px) {
  .landing-band--method {
    padding-left: 10px;
    padding-right: 10px;
  }
  .method-radar {
    padding-left: 4px;
    padding-right: 4px;
  }
}

.method-radar-svg text {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  fill: var(--ink);
}

.method-radar-legend {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.method-radar-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-legend-swatch {
  width: 22px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.method-legend-swatch--przed {
  background: transparent;
  border: 2px dashed #8a6a4e;
}

.method-legend-swatch--po {
  background: rgba(255, 98, 0, 0.22);
  border: 2px solid #ff6200;
}

.method-radar-caption {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.4;
  text-align: center;
}

.method-score {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.method-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.method-pill {
  background: #18120c;
  color: #f7f1e8;
  border: 1.5px solid #c9a227;
  border-radius: var(--radius-pill);
  padding: 10px 16px 8px;
  text-align: center;
  min-width: 5.6rem;
}

.method-pill--po {
  border-color: #ff6200;
}

.method-pill--delta {
  background: #fff8f0;
  color: #18120c;
  border-color: #ff6200;
}

.method-pill-who {
  display: block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #e8c547;
  margin-bottom: 2px;
}

.method-pill--delta .method-pill-who {
  color: #c25e00;
}

.method-pill-num {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.method-pill--delta .method-pill-num {
  color: #0f7a3f;
}

.method-pill-unit {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ddd2be;
  margin-top: 2px;
}

.method-pill--delta .method-pill-unit {
  color: #3d2e20;
}

.method-pill-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  padding: 0 2px;
}

.method-bars {
  display: grid;
  gap: 12px;
  min-width: 280px;
}

.method-bar-row {
  display: grid;
  grid-template-columns: 4.6rem 1fr 2.4rem;
  align-items: center;
  gap: 8px;
}

.method-bar-lab {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.method-bar-track {
  height: 16px;
  background: var(--track);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.method-bar-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
}

.method-bar-fill--pre {
  background: #8a6a4e;
}

.method-bar-fill--post {
  background: #ff6200;
}

.method-bar-val {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.method-score-note {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.45;
}

.scale-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.scale-strip li {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-band--scale .scale-strip li {
  background: #ffffff;
}

.scale-stat {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scale-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.45;
}

.method-foot,
.scale-ask {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.45;
}

@media (min-width: 560px) {
  .method-pictos {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .method-pictos li {
    justify-content: center;
    text-align: center;
  }
}

.scale-report-cta {
  margin: 12px 0 0;
}

.scale-report-cta .btn {
  width: auto;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 800;
}

@media (min-width: 640px) {
  .scale-strip {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 800px) {
  .method-visuals {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
    align-items: center;
  }
}
@media (min-width: 880px) {
  .scale-strip {
    grid-template-columns: 1fr 1fr 1.3fr;
  }
}

/* --- Jak to działa + KMP, ciszej pod skalą --- */
.start-support {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.start-support .how-it-works {
  margin-top: 0;
  padding: 20px 18px;
  border-top: none;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.start-support .how-title {
  text-align: left;
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.support-fact {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
}

.support-fact-kicker {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.support-fact-number {
  margin: 0 0 6px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.support-fact-desc {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-body);
  line-height: 1.4;
}

@media (min-width: 880px) {
  .start-support {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
  }
}

html[data-font-size="xlarge"] .method-pictos,
html[data-font-size="xlarge"] .method-visuals,
html[data-font-size="xlarge"] .scale-strip,
html[data-font-size="xlarge"] .start-support,
html[data-font-size="xlarge"] .trust-points--compact,
html[data-font-size="xlarge"] .scale-chips,
html[data-font-size="xlarge"] .shot-grid {
  grid-template-columns: 1fr !important;
}
html[data-font-size="xlarge"] .scale-funnel,
html[data-font-size="xlarge"] .scale-head,
html[data-font-size="xlarge"] .scale-report-row {
  flex-direction: column !important;
  align-items: stretch !important;
}
html[data-font-size="xlarge"] .scale-funnel li:not(:last-child)::after {
  left: 50%;
  right: auto;
  top: auto;
  bottom: -14px;
  transform: translateX(-50%) rotate(45deg);
}

html[data-font-size="xlarge"] .hero-number {
  font-size: clamp(2.6rem, 10vw, 4.2rem);
}

html[data-font-size="xlarge"] .hero-lead {
  max-width: 28ch;
}

@media (prefers-reduced-motion: reduce) {
  .anon-code-disclosure > summary::before {
    transition: none;
  }
}

/* ============================================================
   LANDING BOTTOM — BAND A (lejek) + BAND B (kadr produktu)
   Inline SVG + CSS only. 63 mln zł remains the only huge number.
   ============================================================ */

.landing-band--shot {
  background: #ffffff;
  border-top: 4px solid var(--accent);
}

.scale-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.scale-map {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 180px;
}
.scale-map-svg {
  display: block;
  width: 148px;
  height: auto;
  overflow: visible;
}
.scale-map-cap {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #b83e00;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.scale-funnel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  width: 100%;
}
.scale-funnel li {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 0;
}
.scale-funnel li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 12px;
  height: 12px;
  border-right: 3.5px solid var(--accent);
  border-bottom: 3.5px solid var(--accent);
  transform: translateX(-50%) rotate(45deg);
  z-index: 1;
}
.scale-funnel-idx {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.scale-funnel-stat {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.scale-funnel-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.35;
}
.scale-funnel-tile--end {
  border-color: var(--accent);
  background: #fff8f0;
}

.scale-chips {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.scale-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
}
.scale-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.scale-chip-label {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.scale-partner {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink-body);
  text-align: center;
  line-height: 1.4;
}
.scale-caption {
  margin: 12px 0 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.45;
  text-align: center;
}

.scale-report-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.scale-report-row .scale-report-cta {
  margin: 0;
  flex: 1 1 16rem;
}
.scale-report-row .scale-report-cta .btn {
  width: 100%;
}

.scale-report-preview {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 12px 16px 14px;
  min-width: 10rem;
  flex: 0 0 auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scale-report-preview .method-badge {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
}
.scale-preview-nums {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scale-preview-pair {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.scale-preview-delta {
  display: inline-block;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f7a3f;
  background: #fff8f0;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  line-height: 1.3;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
.shot-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shot-phone-frame {
  background: #18120c;
  border-radius: 28px;
  padding: 10px 8px 12px;
  border: 2px solid #3a2a1c;
  box-shadow: 0 12px 28px rgba(24, 18, 12, 0.22);
  width: 100%;
  max-width: 240px;
}
.shot-phone-notch {
  display: block;
  width: 72px;
  height: 6px;
  background: #2c241c;
  border-radius: 8px;
  margin: 2px auto 8px;
}
.shot-phone-inner {
  padding: 14px 12px 16px;
  box-shadow: none;
}
.shot-phone-inner .incoming-teaser-name {
  font-size: 1.4rem;
}
.shot-phone-inner .incoming-teaser-num {
  margin-bottom: 0;
}

.shot-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
}
.shot-code-pad {
  display: flex;
  gap: 8px;
}
.shot-code-dot {
  width: 44px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
}
.shot-code-caption {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.35;
  max-width: 16ch;
}

.shot-kmp {
  background: #fbf5ed;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: left;
}
.shot-kmp-src {
  margin: 0;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.shot-kmp-line {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.shot-kmp-sub {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-body);
  line-height: 1.35;
}

.site-footer {
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 700;
}

@media (min-width: 560px) {
  .scale-chips {
    grid-template-columns: repeat(3, 1fr);
  }
  .scale-chips li {
    justify-content: center;
  }
  .scale-map-svg {
    width: 148px;
  }
}

@media (min-width: 640px) {
  .scale-report-row .scale-report-cta .btn {
    width: auto;
  }
}

@media (min-width: 760px) {
  .scale-visual {
    flex-direction: row;
    align-items: center;
    gap: 8px 16px;
  }
  .scale-map {
    flex: 0 0 168px;
    max-width: 168px;
  }
  .scale-map-svg {
    width: 168px;
  }
  .scale-funnel {
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
    flex: 1;
    min-width: 0;
  }
  .scale-funnel li {
    flex: 1;
  }
  .scale-funnel li:not(:last-child)::after {
    left: auto;
    right: -20px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }
}

@media (min-width: 800px) {
  .shot-grid {
    grid-template-columns: 1.05fr 1fr 0.9fr;
    gap: 14px;
    align-items: stretch;
  }
  .shot-phone-frame {
    max-width: none;
  }
}

/* ============================================================
   EKRAN RAPORTU ZBIORCZEGO DLA GMINY (SKU B2B2C, PRZYKŁAD)
   ============================================================ */
#screen-report[hidden] {
  display: none !important;
}

.card--report {
  text-align: left;
}

.card--report #report-title {
  text-align: center;
  font-size: clamp(1.7rem, 4.4vw, 2.25rem);
  margin-bottom: 8px;
}

.report-subtitle {
  text-align: center;
  margin: 0 auto 22px;
  font-weight: 700;
  color: var(--ink-body);
  max-width: 36ch;
}

.demo-badge--report {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.35;
  white-space: normal;
}

.ex-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border: 1.5px solid var(--accent-dark);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  vertical-align: middle;
  line-height: 1.4;
}

.report-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.report-meta-item {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
}

.report-meta-item dt {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 4px;
}

.report-meta-item dd {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  color: var(--ink);
  line-height: 1.25;
}

.report-n {
  color: var(--accent-dark);
}

.report-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin: 0 0 8px;
}

.report-score-card {
  background: #18120c;
  color: #f7f1e8;
  border: 1.5px solid #c9a227;
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}

.report-score-card.is-delta {
  grid-column: 1 / -1;
  background: #fff8f0;
  color: #18120c;
  border-color: #ff6200;
}

.report-score-who {
  display: block;
  font-weight: 800;
  color: #e8c547;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.report-score-card.is-delta .report-score-who {
  color: #c25e00;
}

.report-score-num {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.report-score-num.is-up {
  color: #0f7a3f;
}

.report-score-card.is-delta .report-score-num {
  color: #c25e00;
}

.report-score-max {
  display: block;
  font-weight: 700;
  color: #ddd2be;
  margin-top: 4px;
}

.report-score-card.is-delta .report-score-max {
  color: #3d2e20;
}

.report-score-arrow {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.report-score-caption {
  margin: 0 0 22px;
  font-weight: 800;
  text-align: center;
  color: var(--ink-body);
  font-size: 1.02rem;
}

.report-section-title {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  margin: 0 0 8px;
}

.report-section-note {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink-body);
}

.report-domains-wrap,
.report-recs-wrap {
  margin: 0 0 22px;
}

.report-caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  font-size: 1rem;
}

.report-domains {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.report-domains thead th {
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0 10px 4px;
  font-weight: 800;
}

.report-domains thead th:nth-child(2),
.report-domains thead th:nth-child(3),
.report-domains thead th:nth-child(4),
.report-domains tbody td {
  text-align: right;
}

.report-domains tbody th,
.report-domains tbody td {
  background: var(--surface-subtle);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 10px;
  font-weight: 700;
  color: var(--ink);
  vertical-align: middle;
}

.report-domains tbody th {
  text-align: left;
  border-left: 4px solid var(--card-border);
  border-radius: 10px 0 0 10px;
  font-size: 1.02rem;
}

.report-domains tbody td:last-child {
  border-right: 1px solid var(--card-border);
  border-radius: 0 10px 10px 0;
  white-space: nowrap;
}

.report-domains tbody tr.is-weak th,
.report-domains tbody tr.is-weak td {
  background: #fff4e8;
}

.report-domains tbody tr.is-weak th {
  border-left-color: var(--accent);
}

.report-weak-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  background: #18120c;
  color: #e8c547;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.report-bar-pair {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  max-width: 16rem;
}

.report-bar-track {
  height: 8px;
  background: var(--track);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.report-bar-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
}

.report-bar-fill--pre {
  background: #8a6a4e;
}

.report-bar-fill--post {
  background: var(--accent);
}

.report-domains td.is-up {
  color: #0f7a3f;
  font-weight: 800;
}

.report-recs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: rec;
}

.report-recs li {
  counter-increment: rec;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
}

.report-recs li::before {
  content: counter(rec);
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}

.report-recs li strong {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.3;
}

.report-recs li span {
  font-weight: 600;
  color: var(--ink-body);
  line-height: 1.45;
}

.report-live-line {
  margin: 0 0 8px;
  padding: 14px 16px;
  background: var(--surface-subtle);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  font-size: 1.05rem;
}

@media (min-width: 720px) {
  .report-meta {
    grid-template-columns: 1.2fr 1fr;
  }
  .report-scoreboard {
    grid-template-columns: 1fr auto 1fr 1fr;
  }
  .report-score-card.is-delta {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .report-domains,
  .report-domains thead,
  .report-domains tbody,
  .report-domains th,
  .report-domains td,
  .report-domains tr {
    display: block;
  }
  .report-domains thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  .report-domains tbody th,
  .report-domains tbody td,
  .report-domains tbody td:last-child {
    border-radius: 0;
    border-left: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    text-align: left;
  }
  .report-domains tbody th {
    border-radius: 10px 10px 0 0;
    border-left: 4px solid var(--card-border);
  }
  .report-domains tbody tr.is-weak th {
    border-left-color: var(--accent);
  }
  .report-domains tbody td:last-child {
    border-radius: 0 0 10px 10px;
    margin-bottom: 0;
  }
  .report-domains tbody td {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  .report-domains tbody td::before {
    font-weight: 800;
    color: var(--ink-muted);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .report-domains tbody td:nth-child(2)::before { content: "PRZED"; }
  .report-domains tbody td:nth-child(3)::before { content: "PO"; }
  .report-domains tbody td:nth-child(4)::before { content: "Δ"; }
}

@media (prefers-reduced-motion: reduce) {
  .report-bar-fill { transition: none; }
}

html[data-font-size="xlarge"] .report-scoreboard {
  grid-template-columns: 1fr;
}
html[data-font-size="xlarge"] .report-score-arrow {
  display: none;
}
html[data-font-size="xlarge"] .report-score-card.is-delta {
  grid-column: auto;
}
html[data-font-size="xlarge"] .report-meta {
  grid-template-columns: 1fr;
}
html[data-font-size="xlarge"] .report-recs li {
  grid-template-columns: 1fr;
}
html[data-font-size="xlarge"] .report-recs li::before {
  margin-bottom: 4px;
}
html[data-font-size="xlarge"] .report-domains thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
html[data-font-size="xlarge"] .report-domains,
html[data-font-size="xlarge"] .report-domains tbody,
html[data-font-size="xlarge"] .report-domains th,
html[data-font-size="xlarge"] .report-domains td,
html[data-font-size="xlarge"] .report-domains tr {
  display: block;
}
html[data-font-size="xlarge"] .report-domains tbody th,
html[data-font-size="xlarge"] .report-domains tbody td,
html[data-font-size="xlarge"] .report-domains tbody td:last-child {
  border-radius: 0;
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  text-align: left;
}
html[data-font-size="xlarge"] .report-domains tbody th {
  border-radius: 10px 10px 0 0;
  border-left: 4px solid var(--card-border);
}
html[data-font-size="xlarge"] .report-domains tbody tr.is-weak th {
  border-left-color: var(--accent);
}
html[data-font-size="xlarge"] .report-domains tbody td:last-child {
  border-radius: 0 0 10px 10px;
}
html[data-font-size="xlarge"] .report-domains tbody td {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
html[data-font-size="xlarge"] .report-domains tbody td::before {
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
html[data-font-size="xlarge"] .report-domains tbody td:nth-child(2)::before { content: "PRZED"; }
html[data-font-size="xlarge"] .report-domains tbody td:nth-child(3)::before { content: "PO"; }
html[data-font-size="xlarge"] .report-domains tbody td:nth-child(4)::before { content: "Δ"; }

/* ============================================================
   KODY PRZED / PO — wydawanie kodu, wpisanie kodu, status zapisu
   ============================================================ */
#btn-have-code { min-width: 0; }
.code-entry-cta-hint {
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 0.95rem;
  text-align: center;
}
.code-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.code-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: #18120c;
  color: #e8c547;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.code-big {
  margin: 14px auto 10px;
  padding: 18px 12px;
  max-width: 420px;
  font-family: 'Atkinson Hyperlegible', monospace;
  font-size: clamp(2.6rem, 11vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--ink);
  background: var(--accent-soft);
  border: 3px dashed var(--accent);
  border-radius: var(--radius);
  user-select: all;
  font-variant-numeric: tabular-nums;
}
.code-hint {
  margin: 12px auto 18px;
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--ink-body);
  line-height: 1.5;
}
.code-actions {
  display: grid;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.code-actions .btn { width: 100%; }
.code-actions .btn[disabled] { opacity: 0.55; cursor: progress; }
.sync-status {
  margin: 8px auto 4px;
  max-width: 520px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  color: var(--ink-body);
}
.sync-status:empty, .sync-status[hidden] { display: none; }
.sync-status.is-ok { background: var(--guard-bg); border-color: var(--guard-border); color: #0f5a2c; }
.sync-status.is-pending { background: var(--basic-bg); border-color: var(--basic-border); color: #7a3d00; }
.sync-status.is-error { background: var(--risk-bg); border-color: var(--risk-border); color: #8f1b18; }
.code-entry-form { max-width: 460px; margin: 0 auto; text-align: left; }
.code-input-label { display: block; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.code-input {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Atkinson Hyperlegible', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  padding: 14px 12px;
  border: 3px solid var(--ink-muted);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  margin: 0 0 12px;
}
.code-input:focus { outline: 4px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.code-input::placeholder { color: #c9b8a3; }
.code-entry-msg {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.45;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
}
.code-entry-msg[hidden] { display: none; }
.code-entry-msg.is-error { background: var(--risk-bg); border-color: var(--risk-border); color: #8f1b18; }
.code-entry-msg.is-warn { background: var(--basic-bg); border-color: var(--basic-border); color: #7a3d00; }
.code-entry-msg.is-ok { background: var(--guard-bg); border-color: var(--guard-border); color: #0f5a2c; }
.code-entry-msg.is-info { color: var(--ink-body); }
.result-code-box {
  margin: 16px 0;
  padding: 14px 14px 12px;
  border: 3px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  text-align: center;
}
.result-code-box[hidden] { display: none; }
.result-code-label { display: block; font-weight: 800; color: var(--ink-soft); }
.result-code-val {
  display: block;
  margin: 4px 0 6px;
  font-family: monospace;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.result-code-box .btn { margin-top: 8px; }
.print-slip { display: none !important; }

@media print {
  #screen-code,
  #screen-code-entry,
  .sync-status,
  .result-code-box { display: none !important; }

  .print-measure {
    border: 1.5px solid #18120c;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-measure[hidden] { display: none !important; }
  .print-measure-head { margin: 0 0 6px; font-weight: 700; }
  .print-measure-head strong { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 1.15rem; letter-spacing: 0.06em; }
  .print-measure-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
  .print-measure-table th, .print-measure-table td { border-bottom: 1px solid #c9b8a3; padding: 3px 6px; text-align: right; }
  .print-measure-table th:first-child, .print-measure-table td:first-child { text-align: left; }
  .print-measure-table tr.is-total td { font-weight: 800; border-top: 1.5px solid #18120c; }

  body.is-printing-slip .print-sheet { display: none !important; }
  body.is-printing-slip #main,
  body.is-printing-slip .app { display: block !important; }
  body.is-printing-slip .print-slip { display: block !important; }
  .print-slip-card {
    border: 2px dashed #18120c;
    border-radius: 10px;
    padding: 14mm 12mm;
    text-align: center;
    width: 120mm;
    margin: 0 auto;
    font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
    color: #000;
  }
  .print-slip-brand { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-weight: 800; margin: 0 0 6mm; font-size: 1.1rem; }
  .print-slip-label { margin: 0; font-weight: 700; font-size: 1.1rem; }
  .print-slip-code { font-family: monospace; font-size: 3rem; font-weight: 800; letter-spacing: 0.1em; margin: 3mm 0 5mm; }
  .print-slip-howto { margin: 0 0 3mm; font-size: 1rem; }
  .print-slip-note { margin: 0; font-size: 0.9rem; }
}
.code-actions [hidden], .result-code-box [hidden] { display: none !important; }
/* Ukryte przyciski naprawdę ukryte (.btn ma własne display) */
.btn[hidden], .btn-text-link[hidden] { display: none !important; }
.site-footer-staff { display: block; margin-top: 6px; font-size: 0.85rem; font-weight: 600; opacity: 0.85; }
.site-footer-staff a { color: inherit; }
@media print { .site-footer-staff { display: none !important; } }

/* ---- Stopka grantowa NIW (oficjalna grafika, bez zmian) ---- */
.site-footer-niw { display: block; width: 100%; max-width: 900px; height: auto; margin: 14px auto 10px; background: #fff; border-radius: 8px; padding: 4px 6px; box-sizing: border-box; }
.print-niw { display: none; }
@media print {
  .site-footer-niw { display: none !important; }
  .print-niw { display: block !important; width: 100%; max-width: 176mm; height: auto; margin: 6px auto 0; }
  .print-niw--slip { width: 176mm; margin-top: 10mm; }
}

/* ===== v3 (audyt B1–B7, A1–A3) ===== */
.btn-text-size { min-width: 48px; min-height: 48px; }
.site-footer-staff a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; }
.header-logo-text { color: #c24a00; }
.sim-tag { font-size: max(0.95rem, 18px); color: #fff; } /* v5: był ciemny brąz na czarnym (1,8:1) */
.sim-phone-status { font-size: max(0.8rem, 16px); }
.sim-sender-sub { font-size: max(0.85rem, 18px); }
.sim-sms-bubble { font-size: max(1rem, 19px); }
.sim-sms-link { font-size: max(1rem, 19px); }
.site-footer { font-size: max(0.95rem, 18px); }
@media (hover: none), (pointer: coarse) { .keyboard-hint { display: none !important; } }
.answer-below-hint { margin: 6px 0 0; text-align: center; font-weight: 800; font-size: 1.05rem; color: #7a3d00; }
.answer-below-hint[hidden] { display: none; }
@media (max-width: 700px) {
  .answer-below-hint { position: sticky; bottom: 8px; z-index: 3; background: #fff8f0; border: 2px solid #ff6200; border-radius: 999px; padding: 6px 14px; width: max-content; margin: 8px auto 0; }
}
@media (max-height: 760px) and (max-width: 700px) {
  .card--question.is-sim .sim-phone { max-width: 300px; margin-left: auto; margin-right: auto; }
  .card--question.is-call .call-screen { padding-top: 10px; padding-bottom: 10px; }
  .card--question.is-call .call-wave { display: none; }
}
.call-text-btn { margin: 10px auto 0; display: flex; }
.call-text-btn[hidden] { display: none !important; }
.btn-practice { width: 100%; text-decoration: none; justify-content: center; border-width: 2px; }
.code-group-line { font-weight: 800; margin: 4px 0 8px; font-size: 1.05rem; }
.code-group-line[hidden] { display: none; }
.code-print-link { display: inline-flex; align-items: center; min-height: 48px; }
/* Tryb sali (?grupa=): bez ponownego testu (nowy kod), bez maila o warsztacie, bez demo z nagraniem z pyt. 7 */
body.is-sala #btn-retake,
body.is-sala .result-workshop-banner,
body.is-sala .incoming-teaser,
body.is-sala .site-footer-staff { display: none !important; }
/* Karta na lodówkę: numery jak w poradniku s. 16 */
.print-numbers { display: none; }
@media print {
  .print-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
  .print-numbers > div { border: 1.5px solid #000; border-radius: 8px; padding: 5px 8px; }
  .print-numbers strong { display: block; font-size: 1.15rem; }
  .print-numbers span { display: block; font-size: 0.85rem; }
  .print-numbers .print-numbers-wide { grid-column: 1 / -1; }
  .print-numbers .print-numbers-wide strong { display: inline; font-size: 1rem; }
}

/* ===== P11–P20: mockupy z danych (radar-data.js → q.mock) ===== */
.mockup-lock-ok { color: #15803d; }
.mockup-push2 { min-height: 0; }
.mockup-push2-title { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-weight: 800; font-size: 1.08rem; margin: 4px 0 8px; }
.mockup-push2-line { font-weight: 700; font-size: 1.02rem; line-height: 1.45; }
.mockup-push2-btns { display: flex; gap: 10px; margin-top: 12px; }
.mockup-push2-btn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 10px; border: 1.5px solid #d4c3af; font-weight: 800; background: #fff; }
.mockup-push2-btn.is-primary { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.mockup-call2 { min-height: 0; text-align: center; }
.mockup-call2-tag { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.mockup-call2-num { margin: 0 0 10px; font-weight: 700; color: var(--ink-muted); }
.mockup-call2-quote { margin: 0; background: #fff; border: 1px solid #ebdcc9; border-radius: 12px; padding: 10px 12px; font-weight: 700; line-height: 1.4; text-align: left; }
.mockup-search2 { min-height: 0; }
.mockup-search2-q { border: 1.5px solid #d4c3af; border-radius: 999px; padding: 6px 14px; font-weight: 700; margin-bottom: 10px; }
.mockup-search2-ad { border-bottom: 1px solid #ebdcc9; padding-bottom: 8px; margin-bottom: 8px; }
.mockup-search2-tag { display: inline-block; font-size: 0.8rem; font-weight: 800; background: #fef3c7; color: #92400e; border-radius: 6px; padding: 1px 8px; margin-bottom: 4px; }
.mockup-search2-title { font-weight: 800; color: #1d4ed8; font-size: 1.04rem; }
.mockup-search2-url { font-size: 0.92rem; color: #8b2500; word-break: break-all; }
.mockup-search2-org { color: var(--ink-muted); font-weight: 600; font-size: 0.92rem; }
#answers[hidden], .answers[hidden], #keyboard-hint[hidden] { display: none !important; }
.card--question.is-mid .question-col-context { display: none !important; }

/* ============================================================
   v5 (X 2026) — responsywność, ergonomia, „Wróć do początku”
   ============================================================ */
.nowrap { white-space: nowrap; }
.question-text, .sim-lesson, .answer-label, .card { overflow-wrap: break-word; }
.question-split-layout > * { min-width: 0; }

/* — nagłówek: marka · Wróć do początku · rozmiar tekstu — */
.site-header { padding-top: env(safe-area-inset-top); }
.site-header-inner { justify-content: flex-start; flex-wrap: wrap; gap: 8px 10px;
  padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
.text-size-control { margin-left: auto; }
.btn-text-size { min-width: 48px; min-height: 48px; height: 48px; }
.btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px 0 12px;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.15; white-space: nowrap;
  color: var(--ink); background: var(--surface);
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.btn-home:hover { background: var(--accent-soft); border-color: var(--accent-active); color: var(--accent-active); }
.btn-home:active { transform: translateY(1px); }
.btn-home:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn-home[hidden] { display: none !important; }
.btn-home-ico { flex: 0 0 auto; }
.btn-home-short { display: none; }
@media (max-width: 560px) {
  .btn-home { padding: 0 12px 0 10px; gap: 6px; }
  .btn-home-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .btn-home-short { display: inline; }
  .text-size-control { gap: 2px; padding: 2px; }
}
@media (max-width: 440px) {
  /* wąski telefon, poza startem: zamiast napisu „Radar” mieści się „Początek” */
  body[data-screen]:not([data-screen="start"]) .header-brand { display: none; }
  .site-header-inner { padding-left: max(10px, env(safe-area-inset-left)); padding-right: max(10px, env(safe-area-inset-right)); }
}
@media print { .btn-home, .home-confirm { display: none !important; } }

/* — okno „Czy na pewno?” — */
.home-confirm {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto;
  border: 3px solid var(--ink); border-radius: var(--radius); padding: 26px 24px 22px;
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(24, 18, 12, 0.35);
}
.home-confirm::backdrop { background: rgba(24, 18, 12, 0.62); }
.home-confirm-title { font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 1.6rem; line-height: 1.2; margin: 0 0 10px; }
.home-confirm-text { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; color: var(--ink-body); }
.home-confirm-code { margin: 0 0 18px; color: var(--ink-soft); }
.home-confirm-code[hidden] { display: none; }
.home-confirm-actions { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 560px) { .home-confirm-actions { grid-template-columns: 1fr 1fr; } }
@media (max-height: 460px) {
  .home-confirm { padding: 16px 20px 14px; }
  .home-confirm-title { font-size: 1.3rem; margin-bottom: 6px; }
  .home-confirm-text { margin-bottom: 4px; }
  .home-confirm-code { margin-bottom: 10px; }
  .home-confirm-actions { grid-template-columns: 1fr 1fr; }
}

/* — wyraźniejsze granice przycisków odpowiedzi (56 px wysokości i 14 px odstępu bez zmian) — */
.answer { border: 2px solid #c9b49b; }
.answer:hover { border-color: var(--accent); }

/* — wykres radarowy: szerszy viewBox, etykiety mieszczą się — */
.method-radar-svg { width: min(100%, 400px); min-width: 0; min-height: 0; }

/* — kontrast drobnych etykiet (było 3:1 lub mniej przy małym tekście) — */
.incoming-teaser-tag, .call-screen-tag { background: var(--accent-active); }
.hero-source { color: var(--accent-active); }
.domain-item .domain-pct { color: var(--accent-active); }

/* — telefon poziomo / niski ekran (≈360–430 px wysokości) — */
@media (orientation: landscape) and (max-height: 520px) {
  .site-header-inner { padding-top: 4px; padding-bottom: 4px; }
  .text-size-label { display: none !important; }
  .app { padding-top: 10px; padding-bottom: 28px; }
  .duo-banner { padding: 6px 12px; margin-bottom: 8px; font-size: 0.95rem; }
  .progress-wrap { margin: 0 0 10px; }
  .progress-label { font-size: 1rem; margin-bottom: 4px; }
  .card--question { padding: 14px 16px; }
  /* scenariusz po lewej, pytanie i odpowiedzi po prawej — przyciski widać bez przewijania */
  .question-split-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
  .question-col-context { position: sticky; top: 64px; min-height: 0 !important; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow: auto; padding: 10px 8px; border-radius: 18px; }
  .question-mockup { min-height: 0 !important; }
  .answer-below-hint { display: none !important; }
  .card--question .question-text { font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
  .answers { gap: 12px; }
  .answer { min-height: 52px; padding: 10px 14px; font-size: 1rem; }
  .sim-tag { margin-bottom: 6px; padding: 3px 10px; }
  .card--question.is-sim .sim-phone { max-width: 300px; }
  .card--question.is-call .call-wave { display: none; }
  .card--question.is-mid .question-split-layout { grid-template-columns: 1fr; }
  .nav-row { margin-top: 10px; }
  .sim-lesson { padding: 12px 14px; }
}

/* — desktop: kolumna scenariusza przykleja się pod nagłówkiem (realna wysokość ~70 px) — */
@media (min-width: 880px) {
  .question-col-context { top: 84px; }
}
/* desktop + bardzo duży tekst: jedna kolumna zamiast dwóch ściśniętych */
@media (min-width: 880px) and (max-width: 1500px) {
  html[data-font-size="xlarge"] .question-split-layout { grid-template-columns: 1fr; }
}

/* — czytelna długość linii tekstu ciągłego — */
.sim-lesson-lead, .compare-lead, .hero-lead { max-width: 68ch; }
@media (orientation: landscape) and (max-height: 520px) {
  /* pasek kodu i postęp w jednej linii — więcej miejsca na pytanie */
  #screen-test:not([hidden]) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  #screen-test > .card { grid-column: 1 / -1; }
  #screen-test > .duo-banner { margin: 0 0 10px; max-width: 46vw; }
  #screen-test > .duo-banner[hidden] + .progress-wrap { grid-column: 1 / -1; }
  .card--question .question-text { font-size: 1.05rem; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .code-card { max-width: 900px; }
  .code-big { font-size: 2.6rem; padding: 12px; }
}
@media (max-width: 370px) {
  .site-header-inner { gap: 6px; }
  .btn-home { padding: 0 10px 0 8px; gap: 4px; }
  .btn-home-ico { width: 20px; height: 20px; }
  .btn-text-size { padding: 0 4px; }
  .btn-text-size[data-size="xlarge"] { font-size: 1.05rem; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .site-header-inner { padding-top: 4px; padding-bottom: 4px; }
  .text-size-control { padding: 0; border: 0; background: transparent; }
  .app { padding-top: 8px; }
  #screen-test > .duo-banner { padding: 4px 12px; margin-bottom: 8px; font-size: 0.9rem; }
  #screen-test .progress-wrap { margin-bottom: 8px; }
  #screen-test .progress-label { font-size: 0.95rem; margin: 0 0 2px; line-height: 1.3; }
  .card--question { padding: 10px 14px 12px; }
  .sim-tag { font-size: 0.8rem !important; padding: 2px 10px; margin-bottom: 6px; letter-spacing: 0.06em; }
  .card--question .question-text { margin-bottom: 8px; }
  .answers { gap: 12px; }
  .answer { min-height: 50px; padding: 8px 14px; line-height: 1.3; }
  .answer-marker { width: 32px; height: 32px; flex-basis: 32px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .card--question.is-sim .answers .answer { min-height: 52px; }
  .card--question.is-sim .answer-label { font-size: 1.02rem; }
}
@media (orientation: landscape) and (max-height: 520px) {
  #screen-test .card--question .question-text { font-size: 1.05rem; line-height: 1.28; margin-bottom: 8px; }
  #screen-test .sim-tag { line-height: 1.3; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .code-card .code-actions { gap: 8px; }
  .code-card .code-actions .btn--large { padding: 10px 16px; min-height: 52px; font-size: 1.02rem; }
  .code-card h2 { font-size: 1.25rem; margin: 0 0 4px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  /* ekran z kodem: kod po lewej, instrukcja i przyciski po prawej */
  .code-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 22px; align-items: center; padding: 14px 18px; }
  .code-col--do .code-hint { font-size: 0.95rem; line-height: 1.4; margin: 0 0 10px; text-align: left; }
  .code-big { margin: 6px auto 8px; white-space: nowrap; font-size: clamp(1.8rem, 5.2vw, 2.6rem); padding: 10px 8px; letter-spacing: 0.04em; }
  .code-col--code .sync-status { margin-bottom: 0; }
}
/* duży tekst (130–200%): długie słowa/adresy łamią się zamiast wypychać ekran w bok */
.answer-label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.answer-below-hint { max-width: 100%; white-space: normal; }
.mockup-push2-btns { flex-wrap: wrap; }
.mockup-push2-btn { min-width: 0; overflow-wrap: anywhere; }
.scale-report-preview, .scale-report-preview * { max-width: 100%; overflow-wrap: anywhere; }
.sim-sms-link, .mockup-search2-url, .sim-sms-bubble { overflow-wrap: anywhere; }
.scale-report-preview { min-width: 0; flex-shrink: 1; }
/* drugorzędne przyciski: wyraźniejsza ramka (3,8:1 zamiast 1,4:1) */
.btn--secondary { border-color: #957f66; }
/* przy bardzo dużym tekście przyklejona podpowiedź „Odpowiedz niżej” nie rośnie bez końca */
@media (max-width: 700px) { .answer-below-hint { font-size: min(1.05rem, 20px); line-height: 1.3; padding: 6px 14px; } }

/* ============================================================
   PWA (X 2026): karta „Dodaj Radar do ekranu telefonu”
   ============================================================ */
.install-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px; border: 2px solid var(--card-border); }
.install-card[hidden] { display: none !important; }
.install-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px; }
.install-body { flex: 1 1 auto; min-width: 0; }
.install-title { font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 1.25rem; margin: 0 0 6px; color: var(--ink); }
.install-lead { margin: 0 0 12px; color: var(--ink-body); }
.install-android[hidden], .install-ios[hidden] { display: none !important; }
.install-android .btn { margin-bottom: 10px; }
.install-ios { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.install-ios li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface-subtle); border: 1.5px solid var(--card-border); border-radius: var(--radius-sm); }
.install-step-ico { flex: 0 0 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1.5px solid #c9b49b; color: #0b57d0; }
.install-step-txt { font-weight: 800; font-size: 0.95rem; color: #0b57d0; }
.install-later { min-height: 48px; }
@media (max-width: 480px) { .install-card { flex-direction: column; } }
html.is-standalone .install-card { display: none !important; }
@media print { .install-card { display: none !important; } }
/* w aplikacji (bez paska przeglądarki) treść nie wchodzi pod wycięcie ekranu */
.app { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); padding-bottom: max(56px, calc(env(safe-area-inset-bottom) + 24px)); }
.sync-status .sync-retry { margin-top: 10px; min-height: 48px; font-size: 1rem; }
.sync-pending-note { margin: 4px 0 14px; text-align: left; }
.sync-pending-note[hidden] { display: none !important; }
.install-later { font-size: 1rem; padding-left: 22px; padding-right: 22px; }
.sync-status .sync-retry { padding: 8px 22px; }

/* ============================================================
   STRONA GŁÓWNA v6 (20.10.2026) — wstęp + siatka dużych kafli
   ============================================================ */
.screen--home6 > .hero-card, .screen--home6 > .landing-band { display: none !important; }
.home6 { display: grid; gap: 18px; }
.home6-intro { background: var(--surface); border: 2px solid var(--card-border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.home6-title { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0 0 8px; color: var(--ink); }
.home6-lead { font-size: 1.12rem; margin: 0 0 10px; color: var(--ink-body); }
.home6-3 { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.home6-3 li { font-size: 1.1rem; display: flex; gap: 10px; align-items: baseline; }
.home6-3 b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; }
.home6-flags { background: #fff7f0; border: 2px solid var(--accent-border); border-radius: 14px; padding: 10px 12px; }
.home6-flags-t { margin: 0 0 6px; font-weight: 700; font-size: 1.08rem; }
.home6-flags ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.home6-flags li { font-weight: 700; border-radius: 10px; padding: 6px 10px; border: 2px solid; font-size: 1rem; }
.home6-flags .f1 { background: #fef2f2; color: #8f1714; border-color: #fca5a5; }
.home6-flags .f2 { background: #fffbeb; color: #7a3a00; border-color: #fcd34d; }
.home6-flags .f3 { background: #eef4ff; color: #003a85; border-color: #9dbcf0; }
.home6-flags .f4 { background: #f6efff; color: #4b1f7a; border-color: #c9a6ef; }
.home6-resume { margin: 10px 0 0; }
.home6-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.tile { font: inherit; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: left; min-height: 112px; padding: 14px 16px; border-radius: 18px; border: 2px solid var(--card-border); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); }
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.tile:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.tile .ti { font-size: 1.9rem; line-height: 1; }
.tile strong { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; font-size: 1.22rem; line-height: 1.15; }
.tile .td { font-size: .98rem; color: var(--ink-muted); font-weight: 600; line-height: 1.25; }
.tile--main { background: var(--accent); border-color: var(--accent-dark); color: #fff; grid-column: span 2; min-height: 96px; }
.tile--main .td { color: #fff; }
.tile--po { background: #fff3ec; border-color: var(--accent-dark); }
@media (max-width: 380px) { .tile strong { font-size: 1.08rem; } .tile { padding: 12px; } }
/* telefon poziomo / tablet: wstęp obok kafli */
@media (min-width: 640px) {
  .home6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
  .tile--main { grid-column: span 2; }
}
@media (min-width: 640px) and (max-height: 500px) {
  .home6-title { font-size: 1.3rem; } .home6-lead, .home6-3 li { font-size: 1rem; }
  .tile { min-height: 84px; padding: 10px 12px; } .tile .ti { font-size: 1.4rem; }
  .home6-grid { grid-template-columns: 1fr 1fr 1fr; } .tile--main { grid-column: span 3; min-height: 70px; }
}
@media (min-width: 1000px) {
  .home6-grid { grid-template-columns: 1fr 1fr 1fr; }
  .tile--main { grid-column: span 2; }
  .tile { min-height: 132px; }
  .tile strong { font-size: 1.35rem; }
}
@media (min-width: 1400px) { .app:has(> #screen-start:not([hidden])) { max-width: 1320px; } }
/* v6 poprawki układu */
.home6-intro, .home6-more { background: var(--surface); border: 2px solid var(--card-border); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-sm); }
.home6-intro .home6-lead { margin: 0; }
.home6-3 li { display: block; position: relative; padding-left: 40px; min-height: 30px; }
.home6-3 b { position: absolute; left: 0; top: 0; }
.home6 { grid-template-areas: "head" "tiles" "more"; }
.home6-intro { grid-area: head; } .home6-grid { grid-area: tiles; } .home6-more { grid-area: more; }
@media (min-width: 640px) {
  .home6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: "head tiles" "more tiles"; align-items: start; gap: 14px 18px; }
}
@media (min-width: 640px) and (max-height: 500px) {
  .home6-intro, .home6-more { padding: 10px 14px; }
  .home6-flags li { font-size: .92rem; padding: 4px 8px; }
  .home6-flags ul { grid-template-columns: 1fr; }
  .home6-3 li { font-size: .98rem; }
  .tile strong { font-size: 1.05rem; } .tile .td { font-size: .88rem; }
  .tile--main { min-height: 64px; }
}
@media (min-width: 1000px) and (max-height: 860px) {
  .home6-title { font-size: 1.7rem; } .tile { min-height: 116px; }
  .home6-3 li, .home6-lead { font-size: 1.05rem; }
}
@media (min-width: 1000px) and (max-height: 860px) {
  .home6-more { padding: 10px 16px; } .home6-3 { gap: 2px; margin-bottom: 8px; }
  .home6-flags li { padding: 4px 8px; font-size: .95rem; } .home6-flags-t { font-size: 1rem; }
  .app:has(> #screen-start:not([hidden])) { padding-top: 14px; }
}

/* ============================================================
   v7 (20.10.2026) — typografia, kontrast, czytelność (WCAG 2.2 AA, 65+)
   Jedna rodzina: Atkinson Hyperlegible (lokalnie, offline). Rozmiary w rem → A/A+/A++ skalują wszystko.
   Skala: 1rem=19px (A) · treść 1rem · opis kafla 1rem · tytuł kafla 1.26rem · H1 1.6–2rem.
   ============================================================ */
:root { --navy: #14284b; --line: #8c7358; /* 4,46:1 na bieli — ramki ≥3:1 */ --chip: #fff1e6; }
.home6 { gap: 20px; }
.home6-intro, .home6-more { border: 2px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: none; }
.home6-intro { border-top: 8px solid var(--accent); }
.home6-title { font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: 0; color: var(--navy); display: flex; gap: 12px; align-items: flex-start; margin: 0 0 10px; }
.home6-mark { flex: none; display: inline-flex; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; margin-top: -.15em; }
.home6-mark .ic { width: .95em; height: .95em; }
.home6-lead { font-size: 1.05rem; line-height: 1.5; color: var(--ink-body); }
.home6-3 { gap: 10px; margin: 0 0 16px; }
.home6-3 li { font-size: 1rem; line-height: 1.5; padding-left: 48px; min-height: 36px; }
.home6-3 b { width: 34px; height: 34px; background: var(--navy); color: #fff; font-weight: 700; font-size: 1rem; }
.home6-flags { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.home6-flags-t { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 10px; color: var(--navy); }
.home6-flags-t .ic-flag { color: #b42318; }
.home6-flags ul { gap: 8px; }
.home6-flags li { display: flex; align-items: center; gap: 8px; font-size: .95rem; line-height: 1.3; padding: 8px 10px; border-width: 2px; }
.home6-flags .f1 { border-color: #b42318; } .home6-flags .f2 { border-color: #a15c07; }
.home6-flags .f3 { border-color: #1d4ed8; } .home6-flags .f4 { border-color: #7e3fbf; }
.ic-flag { flex: none; width: 1.05em; height: 1.05em; }
.home6-grid { gap: 14px; }
/* kafel: ikona w kółku + tekst obok (nie łamie się ciasno) */
.tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; align-content: center;
  min-height: 104px; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff; box-shadow: none;
  transition: border-color .12s, background-color .12s, box-shadow .12s; }
.tile .ti { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--chip); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.tile .ti .ic { width: 30px; height: 30px; }
.tile strong { font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--navy); hyphens: none; overflow-wrap: normal; word-break: normal; }
.tile .td { font-size: .95rem; line-height: 1.4; font-weight: 400; color: var(--ink-muted); }
.tile:hover { border-color: var(--accent-dark); background: #fffaf5; box-shadow: 0 0 0 1px var(--accent-dark); }
.tile:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; border-color: var(--focus); }
.tile:active { background: var(--accent-soft); border-color: var(--accent-active); box-shadow: inset 0 0 0 2px var(--accent-active); }
.tile--main { background: var(--navy); border-color: var(--navy); border-left: 10px solid var(--accent); color: #fff; min-height: 104px; }
.tile--main strong { color: #fff; font-size: 1.45rem; }
.tile--main .td { color: #fff; font-weight: 700; }
.tile--main .ti { background: var(--accent); color: var(--ink); }
.tile--main:hover { background: #1d3763; border-color: var(--navy); border-left-color: var(--accent); }
.tile--main:active { background: #0d1b33; }
.tile--main:focus-visible { outline-color: var(--accent-dark); outline-width: 5px; }
.tile--po { background: #fff; border: 3px solid var(--accent-dark); }
.tile--po .ti { background: var(--accent-dark); color: #fff; }
/* telefon pionowo: 2 kolumny, ikona nad tekstem */
@media (max-width: 639px) {
  .home6-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { grid-template-columns: 1fr; padding: 14px; min-height: 0; align-content: start; }
  .tile .ti { grid-row: auto; width: 46px; height: 46px; margin-bottom: 4px; }
  .tile .ti .ic { width: 26px; height: 26px; }
  .tile strong { font-size: 1.08rem; }
  .tile .td { font-size: .9rem; }
  .tile--main { grid-template-columns: auto 1fr; }
  .tile--main .ti { grid-row: span 2; margin: 0; }
  .home6-flags ul { grid-template-columns: 1fr; }
  .home6-intro, .home6-more { padding: 16px; }
}
/* tablet / telefon poziomo / komputer: dwie kolumny kafli po prawej */
@media (min-width: 640px) {
  .home6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .home6-grid { grid-template-columns: 1fr 1fr; }
  .tile--main { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .home6-grid { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 108px; }
  .tile strong { font-size: 1.26rem; }
}
@media (min-width: 1000px) and (max-height: 860px) {
  .home6-title { font-size: 1.65rem; }
  .home6-3 li, .home6-lead { font-size: 1rem; }
  .tile { min-height: 96px; padding: 12px 16px; }
  .home6-intro, .home6-more { padding: 16px 20px; }
  .home6-flags li { padding: 6px 10px; font-size: .92rem; }
}
@media (min-width: 640px) and (max-height: 500px) {
  .home6-grid { grid-template-columns: 1fr 1fr; }
  .tile--main { grid-column: span 2; min-height: 0; }
  .tile { min-height: 0; padding: 10px 12px; column-gap: 10px; }
  .tile .ti { width: 42px; height: 42px; } .tile .ti .ic { width: 24px; height: 24px; }
  .tile strong { font-size: 1.02rem; } .tile .td { font-size: .86rem; }
  .home6-title { font-size: 1.3rem; } .home6-3 li, .home6-lead { font-size: .95rem; }
  .home6-flags ul { grid-template-columns: 1fr 1fr; }
}
/* większy tekst (A+/A++): kafle w jednej kolumnie, żeby nic się nie ściskało */
html[data-font-size="large"] .home6-grid, html[data-font-size="xlarge"] .home6-grid { grid-template-columns: 1fr; }
html[data-font-size="large"] .tile--main, html[data-font-size="xlarge"] .tile--main { grid-column: auto; }
html[data-font-size="large"] .tile, html[data-font-size="xlarge"] .tile { grid-template-columns: auto 1fr; }
html[data-font-size="large"] .tile .ti, html[data-font-size="xlarge"] .tile .ti { grid-row: span 2; }
html[data-font-size="large"] .home6-flags ul, html[data-font-size="xlarge"] .home6-flags ul { grid-template-columns: 1fr; }
@media (min-width: 1000px) { html[data-font-size="large"] .home6-grid { grid-template-columns: 1fr 1fr; } html[data-font-size="large"] .tile--main { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }
/* v7: duże ekrany (rzutnik/TV 1920×1080) — cała skala o stopień w górę */
@media (min-width: 1600px) and (min-height: 950px) {
  html[data-font-size="normal"] { --base-font-size: 131.25%; }
  html[data-font-size="large"] { --base-font-size: 150%; }
  html[data-font-size="xlarge"] { --base-font-size: 168.75%; }
  .app:has(> #screen-start:not([hidden])) { max-width: 1480px; }
}
/* v7: aktywny rozmiar tekstu — granat (14,6:1) zamiast bieli na pomarańczu (3,0:1); spójnie z ćwiczeniami */
.btn-text-size.is-active, .btn-text-size[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-text-size:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; }
.text-size-label { color: var(--ink-muted); }

/* ============================================================
   v8 (20.10.2026) — większa skala (+20%) i kolory kafli dla seniorów
   A = 23px · A+ = 26px · A++ = 30px
   ============================================================ */
html[data-font-size="normal"], :root { --base-font-size: 143.75%; }
html[data-font-size="large"]  { --base-font-size: 162.5%; }
html[data-font-size="xlarge"] { --base-font-size: 187.5%; }
@media (min-width: 1600px) and (min-height: 950px) {
  html[data-font-size="normal"] { --base-font-size: 156.25%; }
  html[data-font-size="large"] { --base-font-size: 175%; }
  html[data-font-size="xlarge"] { --base-font-size: 200%; }
  .app:has(> #screen-start:not([hidden])) { max-width: 1560px; }
}
@media (min-width: 1000px) { .app:has(> #screen-start:not([hidden])) { max-width: 1260px; } }
.home6-title { font-size: clamp(1.45rem, 2.6vw, 1.75rem); font-weight: 700; }
.home6-lead { font-size: 1rem; }
.home6-3 li { font-size: 1rem; font-weight: 400; }
.home6-flags-t { font-size: 1rem; color: #c62f35; }
/* flagi jak na Karcie Cyberhigieny: czerwień #c62f35, numer w kółku */
.home6-flags li, .home6-flags .f1, .home6-flags .f2, .home6-flags .f3, .home6-flags .f4 { background: #fff; color: #c62f35; border: 3px solid #c62f35; font-weight: 700; font-size: .92rem; }
.fnum { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: #c62f35; color: #fff; font-weight: 700; font-size: .95em; line-height: 1; }
/* kafle: pełne kolory, biały tekst (lub bardzo ciemny na pomarańczu) */
.tile { border-width: 3px; border-left-width: 3px; }
.tile strong { font-size: 1.24rem; color: #fff; }
.tile .td { font-size: .86rem; color: #fff; font-weight: 700; line-height: 1.35; }
.tile .ti { background: #fff; width: 58px; height: 58px; }
.tile .ti .ic { width: 32px; height: 32px; }
.tile--main { background: #14284b; border-color: #14284b; border-left: 12px solid #ff6200; }
.tile--main strong { font-size: 1.4rem; }
.tile--main .ti { background: #ff6200; color: #18120c; }
.tile--po { background: #ff6200; border: 3px solid #9a3300; }
.tile--po strong, .tile--po .td { color: #18120c; }
.tile--po .ti { background: #18120c; color: #ff6200; }
.t-cw { background: #1e7b3f; border-color: #14532d; } .t-cw .ti { color: #1e7b3f; }
.t-sl { background: #5b3a99; border-color: #3b2466; } .t-sl .ti { color: #5b3a99; }
.t-zz { background: #9f1d2a; border-color: #6b0f18; } .t-zz .ti { color: #9f1d2a; }
.t-pr { background: #1d4ed8; border-color: #1e3a8a; } .t-pr .ti { color: #1d4ed8; }
.t-add { background: #0f766e; border-color: #134e4a; } .t-add .ti { color: #0f766e; }
.tile:hover { filter: brightness(1.08); box-shadow: 0 0 0 3px #18120c; background-image: none; }
.t-cw:hover { background: #1e7b3f; } .t-sl:hover { background: #5b3a99; } .t-zz:hover { background: #9f1d2a; } .t-pr:hover { background: #1d4ed8; } .t-add:hover { background: #0f766e; } .tile--po:hover { background: #ff6200; }
.tile:active { filter: brightness(.9); box-shadow: inset 0 0 0 4px rgba(0,0,0,.35); }
.tile:focus-visible { outline: 5px solid #004fb0; outline-offset: 3px; box-shadow: 0 0 0 3px #fff inset; }
@media (max-width: 639px) {
  .tile strong { font-size: 1.05rem; } .tile .td { font-size: .8rem; }
  .tile .ti { width: 50px; height: 50px; }
  .tile--main strong { font-size: 1.25rem; }
}
@media (min-width: 1000px) and (max-height: 860px) {
  .home6-title { font-size: 1.5rem; }
  .home6 { gap: 14px; }
  .home6-intro, .home6-more { padding: 12px 18px; }
  .home6-3 { gap: 4px; margin-bottom: 10px; } .home6-3 li { font-size: .9rem; min-height: 32px; line-height: 1.4; }
  .home6-lead { font-size: .9rem; line-height: 1.4; }
  .home6-flags { padding: 10px 12px; } .home6-flags li { font-size: .82rem; padding: 5px 8px; }
  .home6-flags-t { font-size: .9rem; margin-bottom: 6px; }
  .tile { min-height: 0; padding: 10px 14px; } .tile strong { font-size: 1.15rem; } .tile .td { font-size: .8rem; }
  .tile .ti { width: 52px; height: 52px; }
  .home6-grid { gap: 10px; }
  .app:has(> #screen-start:not([hidden])) { padding-top: 8px; }
}
@media (min-width: 640px) and (max-height: 500px) {
  .tile strong { font-size: .95rem; } .tile .td { font-size: .75rem; }
  .home6-title { font-size: 1.2rem; } .home6-3 li, .home6-lead { font-size: .85rem; }
  .home6-flags li { font-size: .78rem; }
}
.t-org { background: #8a5300; border-color: #5c3700; } .t-org .ti { color: #8a5300; } .t-org:hover { background: #8a5300; }
.t-add { grid-column: span 2; }
html[data-font-size="large"] .t-add, html[data-font-size="xlarge"] .t-add { grid-column: auto; }
@media (min-width: 1000px) { html[data-font-size="large"] .t-add { grid-column: span 2; } }
