/* Tango – warstwa wizualna (brief 2026-10-02, Etap 3).
   Jasno i spokojnie: biel i bardzo jasny szaroniebieski, tekst granat/grafit, turkus Tango jako akcent i CTA.
   Kolory GREEN / BLUE / GREY / YELLOW / RED wyłącznie dla statusów. Bez ciemnych teł, neonów i gradientów.
   Mobile first; układy wielokolumnowe od 560, 760 i 1000 px. */

/* Inter (SIL OFL 1.1, fonts/LICENSE-Inter.txt) – z własnego serwera, bez zewnętrznych usług (spec §46). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --surface: #ffffff;
  --ink: #1f2a3c;
  --navy: #14213d;
  --muted: #566176;
  --line: #e2e8ef;
  --line-strong: #cfd8e3;
  /* Turkus przyciemniony względem zawieszki: biały tekst ma kontrast > 5:1 (WCAG AA). */
  --accent: #0b7a7c;
  --accent-strong: #08605f;
  --accent-soft: #e4f3f2;

  --green: #1d7a4c;
  --green-bg: #e6f4ec;
  --yellow: #845600;
  --yellow-bg: #fff3d4;
  --yellow-line: #d9a21b;
  --red: #a4262c;
  --red-bg: #fde8e8;
  --blue: #1f5fa8;
  --blue-bg: #e6eefa;
  --grey: #566176;
  --grey-bg: #eef1f5;

  --radius: 16px;
  --radius-small: 10px;
  --shadow: 0 1px 2px rgba(20, 33, 61, 0.05), 0 6px 20px rgba(20, 33, 61, 0.05);
  --shadow-large: 0 2px 4px rgba(20, 33, 61, 0.04), 0 18px 48px rgba(20, 33, 61, 0.1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-height: 64px;
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5.5' fill='none' stroke='%230b7a7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

/* Atrybut hidden zawsze wygrywa z regułami display komponentów. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  /* Długie słowa (np. „cyberbezpieczeństwo”) na wąskich ekranach. */
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.25rem, 1.55rem + 3vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.875rem, 1.45rem + 1.6vw, 2.5rem);
  font-weight: 750;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 8px;
  z-index: 20;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: var(--radius-small);
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--muted);
  max-width: 40em;
}

.kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.6;
  vertical-align: middle;
}

.tag-navy {
  background: var(--navy);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) var(--check-icon) center / 12px no-repeat;
}

/* ---------------------------------------------------------------- przyciski */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #ffffff;
}

.button:disabled {
  background: var(--muted);
  border-color: var(--muted);
  cursor: progress;
}

/* Drugorzędne CTA: białe z granatową ramką. */
.button-secondary {
  background: var(--surface);
  border-color: var(--navy);
  color: var(--navy);
}

.button-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--navy);
  color: var(--navy);
}

.button-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------- nagłówek */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-height);
}

/* Logo (decyzja 2026-10-04): tarcza jako obrazek (img/tango-shield.webp, wycięta z logo bez zmian kolorów)
   + „Tango” i tagline jako tekst – stałe, czytelne rozmiary. Telefon: 40 / 26 / 10,5 px; od 760 px: 50 / 31 / 11,5 px. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  padding-left: 4px;
  color: var(--navy);
  text-decoration: none;
}

.logo:hover {
  color: var(--navy);
}

.logo-mark {
  display: block;
  flex: none;
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-name {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.logo-tagline {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
}

.nav-desktop {
  display: none;
}

.nav-desktop a,
.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
  color: var(--accent-strong);
}

.nav-mobile {
  position: relative;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 230px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-large);
}

.nav-mobile nav a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-mobile nav a:hover {
  background: var(--bg-soft);
}

.header-cta {
  display: none;
}

/* Przewinięcie do kotwicy nie chowa treści pod przyklejonym nagłówkiem. */
section[id],
.report,
.progress {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* ---------------------------------------------------------------- sekcje */

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 1000px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head .lead {
  margin: 0;
  /* Opisy sekcji są krótkie (1–2 zdania) – bez dodatkowego limitu 40em, który łamał je w pół. */
  max-width: none;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head-center .lead {
  margin: 0 auto;
}

/* ---------------------------------------------------------------- hero */

.hero {
  padding: 40px 0 48px;
}

.hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text .lead {
  margin-bottom: 28px;
}

.accent {
  color: var(--accent);
}

.check-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

.check-form input,
.field input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.08rem;
}

.check-form input:focus,
.field input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.check-form .button {
  min-height: 56px;
  font-size: 1.08rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft) var(--check-icon) center / 12px no-repeat;
}

.form-hint {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  max-width: 600px;
  border-radius: var(--radius-small);
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
}

.hero-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(42vw, 170px);
}

/* ---------------------------------------------------------------- maskotka (małe stany T01–T08) */

.mascot {
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.mascot-small {
  width: 72px;
  height: 72px;
  flex: none;
}

/* ---------------------------------------------------------------- statusy */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
  color: #ffffff;
}

.status-compact {
  padding: 3px;
}

.status-green {
  background: var(--green-bg);
  color: var(--green);
}

.status-green .status-icon {
  background: var(--green);
}

.status-yellow {
  background: var(--yellow-bg);
  color: var(--yellow);
}

.status-yellow .status-icon {
  background: var(--yellow-line);
  color: var(--navy);
}

.status-red {
  background: var(--red-bg);
  color: var(--red);
}

.status-red .status-icon {
  background: var(--red);
}

.status-blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.status-blue .status-icon {
  background: var(--blue);
}

/* GREY nigdy nie wygląda jak błąd: neutralny, spokojny. */
.status-grey {
  background: var(--grey-bg);
  color: var(--grey);
}

.status-grey .status-icon {
  background: #8b93a5;
}

/* ---------------------------------------------------------------- raport (prawdziwy i przykładowy) */

.report-area {
  padding: 8px 0 48px;
}

.report:focus {
  outline: none;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  padding: 20px;
}

.report-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.report-title {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.report-domain {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
  word-break: break-word;
}

.report-age {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}


/* Podsumowanie: trzy duże liczby (dobrze / uwaga / problem). */
.summary-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.summary-tile {
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
}

.summary-number {
  display: block;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.summary-label {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.tile-green {
  background: var(--green-bg);
  color: var(--green);
}

.tile-yellow {
  background: var(--yellow-bg);
  color: var(--yellow);
}

.tile-red {
  background: var(--red-bg);
  color: var(--red);
}

/* Zero w kategorii – spokojnie, bez koloru statusu. */
.tile-zero {
  background: var(--bg-soft);
  color: var(--muted);
}

.summary-note {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.report-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 28px 0 12px;
}

.report-block-head h3 {
  font-size: 1.2rem;
}

.finding-list {
  display: grid;
  gap: 12px;
}

.finding {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--grey);
  border-radius: 14px;
  padding: 18px;
}

.finding.status-border-red {
  border-left-color: var(--red);
}

.finding.status-border-yellow {
  border-left-color: var(--yellow-line);
}

.finding h4 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.finding-part {
  margin: 10px 0;
  overflow-wrap: anywhere;
}

.finding-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* „Co zrobić?” – wyróżnione tłem, to najważniejsza część karty. */
.finding-todo {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.finding-todo .finding-label {
  color: var(--navy);
}

.finding-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
}

.copy-feedback {
  font-size: 0.88rem;
  color: var(--green);
}

.learn-more {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.tech-details {
  margin-top: 14px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
}

.tech-details summary {
  cursor: pointer;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.92rem;
}

.tech-details dl {
  margin: 8px 0 0;
  font-size: 0.85rem;
}

.tech-details dt {
  margin-top: 8px;
  font-weight: 600;
  color: var(--muted);
}

.tech-details dd {
  margin: 0;
  font-family: var(--mono);
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-text {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-small);
  font-family: var(--mono);
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Sekcje raportu: Poczta / Strona WWW / Certyfikat i szyfrowanie / Domena */
.report-sections {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.report-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.report-section > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-section > summary::-webkit-details-marker {
  display: none;
}

.report-section > summary::after {
  content: "▾";
  color: var(--muted);
  margin-left: 4px;
}

.report-section[open] > summary::after {
  content: "▴";
}

.report-section > summary > span:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.report-section > summary .status {
  flex: none;
}

.section-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.section-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Rozwinięta sekcja: podpunkty jako mniejsze białe karty na szarym tle – widać, że są „w środku” sekcji. */
.section-items {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
}

.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.item > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 4px;
  position: relative;
  padding-right: 28px;
}

/* Strzałka: podpunkt można rozwinąć (co to oznacza, co zrobić, szczegóły). */
.item > summary::after {
  content: "▾";
  position: absolute;
  top: 2px;
  right: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.item[open] > summary::after {
  content: "▴";
}

.item[open] {
  border-color: var(--line-strong);
}

.item > summary::-webkit-details-marker {
  display: none;
}

.item > summary .status {
  justify-self: start;
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.item-summary {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.item-body {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}

.report-offers {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.offer h3 {
  margin-bottom: 8px;
}

.offer p {
  margin: 0 0 14px;
}

.report-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 20px 0 0;
}

/* ---------------------------------------------------------------- postęp */

.progress {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.progress h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.progress p {
  margin: 0 0 8px;
}

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

.progress-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--line-strong);
  color: var(--muted);
}

.step-done .step-mark {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green);
}

.step-active .step-mark {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------------------------------------------------------------- Zobacz, co dostaniesz */

.sample-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.sample-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

.sample-visual img {
  width: min(50vw, 190px);
}

.sample {
  margin: 0;
}

.sample-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.sample .finding {
  margin-top: 24px;
}

.sample-badge-large {
  font-size: 0.85rem;
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------------- Co sprawdza Tango */

.area-grid {
  display: grid;
  gap: 16px;
}

.area {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.area-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.area-icon svg {
  width: 24px;
  height: 24px;
}

.area h3 {
  margin-bottom: 6px;
}

.area p {
  margin: 0 0 12px;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips li {
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.passive-note {
  margin: 24px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Jak to działa (lekko, bez dużych kart) */

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

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
}

.how-number {
  grid-row: span 2;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  min-width: 1.3em;
}

.how-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.how-title svg {
  width: 22px;
  height: 22px;
  color: var(--accent-strong);
  flex: none;
}

.how-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------------------------------------------------------------- Monitoring: A co jutro? */

.tomorrow-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.tomorrow-layout h2 {
  margin-bottom: 16px;
}

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

.scenario-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.scenario-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--accent-strong);
}

.scenario-list strong {
  display: block;
  color: var(--navy);
}

.scenario-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.promise {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

.tomorrow-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

.tomorrow-visual img {
  width: min(70vw, 280px);
}

/* ---------------------------------------------------------------- Cennik */

.pricing-grid > *,
.tomorrow-layout > *,
.sample-layout > *,
.hero-inner > * {
  min-width: 0;
}

.pricing-grid {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
}

.plan h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 4px 0;
}

.plan-price-soon {
  font-size: 1.75rem;
  color: var(--accent-strong);
}

.plan-features {
  margin: 16px 0 24px;
}

.plan-actions {
  margin-top: auto;
}

.plan-main {
  border: 1.5px solid var(--accent);
}

/* Formularz listy oczekujących */
.waitlist-form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.field .optional {
  font-weight: 500;
  color: var(--muted);
}

.field input {
  min-height: 50px;
  font-size: 1rem;
}

/* Pole-pułapka na boty: poza ekranem, niedostępne z klawiatury i dla czytników ekranu. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.waitlist-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-small);
  background: var(--red-bg);
  color: var(--red);
  font-size: 0.95rem;
}

.waitlist-done {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--navy);
  font-weight: 600;
}

/* ---------------------------------------------------------------- #CyberPoLudzku (spokojniej niż karty produktu) */

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

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.blog-card:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.blog-card:hover .blog-title {
  color: var(--accent-strong);
}

.blog-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}

.blog-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.blog-more {
  margin: 20px 0 0;
}

.author-line {
  margin: 12px 0 0;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Pomoc JBC (mała, spokojna) */




/* ---------------------------------------------------------------- O Tango: prywatność i charakter testów */

.trust-grid {
  display: grid;
  gap: 16px;
}

.trust-card {
  padding: 24px;
}

.trust-card h3 {
  margin-bottom: 12px;
}

.trust-card p {
  margin: 0;
}

.tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------- stopka */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 32px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand strong {
  color: var(--navy);
}

.footer-brand a {
  color: var(--ink);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: var(--ink);
}

/* ---------------------------------------------------------------- strony tekstowe (polityka, linki z e-maili) */

.page {
  padding: 48px 0 64px;
}

.page .wrap {
  max-width: 820px;
}

.page h1 {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  margin-bottom: 16px;
}

.page h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  margin: 40px 0 12px;
}

.page h3 {
  font-size: 1.12rem;
  margin: 24px 0 8px;
}

.page ul {
  padding-left: 22px;
}

.page li {
  margin: 4px 0;
}

.table-wrap {
  overflow-x: auto;
}

.page table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.95rem;
}

.page th,
.page td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.page-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.toc {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg-soft);
  margin: 24px 0;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.action-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 24px;
}

.action-card h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  margin-bottom: 12px;
}

.action-result {
  margin: 16px 0 0;
  font-weight: 600;
  color: var(--navy);
}

/* ---------------------------------------------------------------- od 560 px */

@media (min-width: 560px) {
  .check-form {
    flex-direction: row;
  }

  .check-form input {
    flex: 1;
  }

  .area-grid,
  .how-steps,
  .blog-grid,
  .scenario-list {
    grid-template-columns: 1fr 1fr;
  }

  .report-card {
    padding: 28px;
  }

  .summary-tiles {
    gap: 12px;
  }

  .summary-tile {
    padding: 18px 12px;
  }
}

/* ---------------------------------------------------------------- od 760 px */

@media (min-width: 760px) {
  .wrap {
    padding: 0 24px;
  }

  .logo-mark {
    height: 50px;
  }

  .logo-name {
    font-size: 31px;
  }

  .logo-tagline {
    font-size: 11.5px;
  }

  .header-cta {
    display: inline-flex;
    white-space: nowrap;
  }

  .section {
    padding: 88px 0;
  }

  .mascot-small {
    width: 96px;
    height: 96px;
  }

  .pricing-grid,
  .trust-grid,
  .report-offers {
    grid-template-columns: 1fr 1fr;
  }

  .report-offers-single {
    grid-template-columns: 1fr;
  }


  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ---------------------------------------------------------------- od 1000 px */

@media (min-width: 1000px) {
  .nav-desktop {
    display: flex;
    gap: 24px;
  }

  .nav-mobile {
    display: none;
  }

  /* Hero ~55% tekst / 45% grafika; Tango jako jeden z głównych elementów pierwszego ekranu. */
  .hero {
    padding: 56px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 11fr 9fr;
    gap: 40px;
  }

  .hero-visual img {
    width: 100%;
    max-width: 270px;
  }

  /* Raport ~70% szerokości, Tango z podkładką obok – bez zasłaniania treści. */
  .sample-layout {
    grid-template-columns: 7fr 3fr;
    gap: 32px;
  }

  .sample-visual {
    order: 2;
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding-top: 48px;
  }

  .sample-visual img {
    width: 100%;
    max-width: 250px;
  }

  .report-card {
    padding: 36px 40px;
  }

  .how-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .how-step {
    grid-template-columns: 1fr;
  }

  .how-number {
    grid-row: auto;
    margin-bottom: 8px;
  }

  .tomorrow-layout {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .tomorrow-visual img {
    width: 100%;
    max-width: 400px;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}


.finding.status-border-blue {
  border-left-color: var(--blue);
}

/* ---------------------------------------------------------------- raport PDF (decyzja 2026-10-03)

   Osobny, zwarty dokument (#print-report, budowany w js/app.js przy drukowaniu) zamiast wydruku strony:
   strona 1 – werdykt, najważniejsze problemy, zestawienie wszystkich sprawdzeń, QR do wyniku online;
   strona 2 – tylko przy problemach: instrukcje dla informatyka. Na ekranie dokument jest niewidoczny.
   Bez widocznego raportu (.has-report) strona drukuje się normalnie. */
.print-report {
  display: none;
}

@media print {
  @page {
    size: A4;
    margin: 12mm 13mm;
  }

  .has-report {
    font-size: 9.5pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .has-report body {
    background: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink);
  }

  .has-report body > :not(.print-report) {
    display: none !important;
  }

  .has-report .print-report {
    display: block;
  }

  .print-report h1,
  .print-report h2,
  .print-report h3,
  .print-report h4,
  .print-report p,
  .print-report ul {
    margin: 0;
  }

  .pr-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 6mm;
    padding-bottom: 4mm;
    border-bottom: 0.4mm solid var(--accent);
  }

  .pr-logo {
    width: 40mm;
    height: auto;
  }

  .pr-mascot {
    width: 20mm;
    height: auto;
  }

  .pr-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-strong);
  }

  .pr-domain {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    word-break: break-word;
  }

  .pr-date {
    color: var(--muted);
  }

  .pr-verdict {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3mm 6mm;
    margin: 5mm 0 4mm;
  }

  .pr-verdict-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
  }

  .pr-tiles {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 24mm);
    gap: 2mm;
  }

  .pr-tiles .summary-tile {
    border-radius: 3mm;
    padding: 2mm 1mm;
  }

  .pr-tiles .summary-number {
    font-size: 1.6rem;
  }

  .pr-tiles .summary-label {
    margin-top: 0.5mm;
    font-size: 0.72rem;
  }

  .pr-note {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: var(--muted);
  }

  .pr-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 2mm;
  }

  .pr-top {
    margin-bottom: 4mm;
  }

  .pr-finding,
  .pr-admin-item {
    border: 0.3mm solid var(--line-strong);
    border-left: 1.4mm solid var(--grey);
    border-radius: 2.5mm;
    padding: 2.5mm 3.5mm;
    margin-bottom: 2mm;
    break-inside: avoid;
  }

  .pr-finding h4,
  .pr-admin-item h4 {
    display: flex;
    align-items: center;
    gap: 2mm;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 1mm;
  }

  .pr-todo {
    margin-top: 1mm;
  }

  .pr-border-red {
    border-left-color: var(--red);
  }

  .pr-border-yellow {
    border-left-color: var(--yellow-line);
  }

  .pr-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 4.2mm;
    height: 4.2mm;
    border-radius: 50%;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    background: #8b93a5;
  }

  .pr-status-green {
    background: var(--green);
  }

  .pr-status-blue {
    background: var(--blue);
  }

  .pr-status-yellow {
    background: var(--yellow-line);
  }

  .pr-status-red {
    background: var(--red);
  }

  .pr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3mm;
  }

  .pr-block {
    border: 0.3mm solid var(--line);
    border-radius: 2.5mm;
    padding: 2.5mm 3mm;
    break-inside: avoid;
  }

  .pr-block h4 {
    display: flex;
    align-items: center;
    gap: 2mm;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 1.5mm;
  }

  .pr-block ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.2mm;
  }

  .pr-block li {
    display: grid;
    grid-template-columns: 4.2mm 1fr;
    gap: 1.8mm;
    align-items: start;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .pr-block li .pr-status {
    width: 3.6mm;
    height: 3.6mm;
    font-size: 0.56rem;
    margin-top: 0.3mm;
  }

  .pr-block li strong {
    color: var(--navy);
  }

  .pr-foot {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6mm;
    align-items: center;
    margin-top: 4mm;
    padding-top: 3mm;
    border-top: 0.3mm solid var(--line-strong);
    font-size: 0.78rem;
    color: var(--muted);
    break-inside: avoid;
  }

  .pr-foot p + p {
    margin-top: 1mm;
  }

  .pr-url {
    word-break: break-all;
    color: var(--ink);
  }

  .pr-brand {
    font-weight: 600;
    color: var(--navy);
  }

  .pr-qr {
    display: grid;
    justify-items: center;
    gap: 1mm;
    font-size: 0.68rem;
  }

  .pr-qr svg {
    width: 24mm;
    height: 24mm;
  }

  .pr-admin {
    break-before: page;
  }

  .pr-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 2mm;
    margin-bottom: 3mm;
    border-bottom: 0.4mm solid var(--accent);
    color: var(--muted);
  }

  .pr-admin-item pre {
    margin: 1mm 0 0;
    font-family: var(--mono);
    font-size: 0.76rem;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .pr-admin > .pr-brand {
    margin-top: 4mm;
    font-size: 0.78rem;
  }
}
