/* =====================================================================
   Audyt strony parafialnej — style (spójne z parafiawsieci.pl)
   Tokeny marki z wyglad_strony/js/tailwind.config.js i css/style.css.
   Bez Tailwind CDN i bez stylów inline: CSP w Caddyfile ma style-src 'self'.
   ===================================================================== */

/* Font marki Plus Jakarta Sans (licencja SIL OFL 1.1, wersja v12 z Google Fonts, font zmienny 400–800) – pliki w /fonts,
   bez łączenia z Google (brak przekazywania IP odwiedzających). Dwa podzbiory: latin + latin-ext (polskie znaki). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/PlusJakartaSans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/PlusJakartaSans-latin.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 {
  --blue: #0B57D0;
  --blue-deep: #0041A2;
  --blue-soft: #EFF6FF;
  --navy: #0A192F;
  --amber: #F59E0B;
  --amber-deep: #D97706;
  --amber-soft: #FFFBEB;
  --mist: #F4F8FC;
  --canvas: #F8FAFC;
  --line: #E2E8F0;
  --text: #334155;
  --muted: #64748B;
  --red: #DC2626;
  --red-soft: #FEF2F2;
  --green: #047857;
  --green-soft: #ECFDF5;
  --radius-card: 16px;
  --radius-control: 10px;
  --shadow-card: 0 2px 8px -2px rgba(10,25,47,.04), 0 8px 16px -4px rgba(10,25,47,.06);
  --shadow-nav: 0 20px 32px -8px rgba(10,25,47,.10), 0 8px 16px -4px rgba(10,25,47,.05);
  --shadow-cta: 0 6px 16px rgba(245,158,11,.35);
  --shadow-cta-hover: 0 10px 24px rgba(217,119,6,.40);
  --header-h: 80px;
  --gutter: 20px;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
h1, h2, h3 { color: var(--navy); margin: 0; }
p { margin: 0; }
section[id] { scroll-margin-top: var(--header-h); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(11,87,208,.45); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 16px; border-radius: var(--radius-control); box-shadow: var(--shadow-nav); color: var(--navy); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }

/* ---------- Typografia ---------- */
.eyebrow { font-size: 12px; line-height: 16px; letter-spacing: .28em; font-weight: 600; text-transform: uppercase; color: rgba(10,25,47,.8); }
.h1 { font-size: 34px; line-height: 40px; letter-spacing: -.02em; font-weight: 800; }
.h2 { font-size: 28px; line-height: 34px; letter-spacing: -.01em; font-weight: 800; }
.h3 { font-size: 20px; line-height: 28px; letter-spacing: -.01em; font-weight: 700; }
.lead { font-size: 18px; line-height: 28px; }
.small { font-size: 13px; line-height: 20px; }
.muted { color: var(--muted); }
@media (min-width: 640px) { .h1 { font-size: 44px; line-height: 52px; } .h2 { font-size: 40px; line-height: 48px; } }
@media (min-width: 1024px) { .h1 { font-size: 52px; line-height: 60px; letter-spacing: -.03em; } }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease; }
.btn-cta { color: #fff; background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%); box-shadow: var(--shadow-cta); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.btn-cta:hover svg { transform: translateX(3px); }
.btn-cta[disabled], .btn-cta[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { color: var(--navy); background: rgba(255,255,255,.75); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226,232,240,.7); }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.site-header .logo img { height: 40px; width: auto; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 32px; }
.nav-link { position: relative; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 6px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after { transform: scaleX(1); }
.site-header .btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
@media (min-width: 1024px) {
  .site-header nav { height: var(--header-h); }
  .site-header .logo img { height: 48px; }
  .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 64px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(255,255,255,.88), rgba(255,255,255,.78) 55%, var(--canvas));
}
.hero-grid { display: grid; gap: 40px; align-items: start; }
.hero .lead { margin-top: 20px; max-width: 540px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: none; gap: 12px; }
@media (min-width: 1024px) { .hero-points { display: grid; } }
@media (max-width: 1023px) { .hero { padding-top: 32px; } .hero-grid { gap: 28px; } }
.hero-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--navy); }
.hero-points svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
@media (min-width: 1024px) {
  .hero { padding: 72px 0 96px; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.72) 55%, rgba(255,255,255,.25) 100%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; }
  .hero-copy { padding-top: 24px; }
}

/* ---------- Panel audytu (kroki formularza) ---------- */
.panel { background: #fff; border: 1px solid #fff; border-radius: 20px; box-shadow: var(--shadow-nav); padding: 24px; }
@media (min-width: 640px) { .panel { padding: 32px; } }
.panel-title { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--navy); }
.panel-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }
.panel form { margin-top: 18px; }
.steps-dots { display: flex; gap: 8px; margin-bottom: 18px; }
.steps-dots span { height: 6px; flex: 1; border-radius: 3px; background: var(--line); }
.steps-dots span.is-done { background: var(--blue); }

.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.form-label .opt { font-weight: 400; color: var(--muted); }
.form-field {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  border-radius: var(--radius-control); border: 1.5px solid #CBD5E1; background: #fff;
  color: var(--navy); font: inherit; font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select.form-field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form-field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,87,208,.15); }
.form-field.is-invalid { border-color: var(--red); }
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.fields-2 { display: grid; gap: 16px; margin-top: 16px; }
.fields-2 .field { margin-top: 0; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.url-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .url-row { grid-template-columns: 1fr auto; } }

.consents { margin: 22px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.consent input.is-invalid { outline: 2px solid var(--red); outline-offset: 2px; }
.consent a { font-weight: 600; }
.req { color: var(--red); }
.clause { font-size: 12px; line-height: 18px; color: rgba(100,116,139,.9); }

.status { margin-top: 14px; font-size: 14px; line-height: 21px; font-weight: 500; }
.status.is-error { color: var(--red); }
.status.is-ok { color: var(--green); }
.turnstile { margin-top: 18px; min-height: 65px; }

.preview { border: 1px solid var(--line); background: var(--mist); border-radius: var(--radius-card); padding: 16px 18px; margin-bottom: 22px; }
.preview-name { font-weight: 700; color: var(--navy); font-size: 17px; line-height: 24px; word-break: break-word; }
.preview dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0 0; font-size: 14px; }
.preview dt { color: var(--muted); }
.preview dd { margin: 0; color: var(--navy); font-weight: 500; word-break: break-word; }
.preview-change { margin-top: 10px; font-size: 13px; }

.loading { display: flex; gap: 14px; align-items: center; padding: 8px 0; color: var(--navy); font-weight: 500; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--blue-soft); border-top-color: var(--blue); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin .9s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

.done-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 16px; }
.done-icon svg { width: 28px; height: 28px; }

/* ---------- Sekcje ---------- */
.section { position: relative; isolation: isolate; padding: 72px 0; }
.section-head { max-width: 720px; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 16px; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

.deco-glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at 0% 20%, rgba(11,87,208,.08), transparent 70%), radial-gradient(600px 400px at 100% 0%, rgba(245,158,11,.10), transparent 70%);
}

.cards { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 20px 22px; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -6px rgba(11,87,208,.12), 0 4px 12px -2px rgba(10,25,47,.05); }
.card-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 13px; }
.card:nth-child(even) .card-num { background: var(--amber-soft); color: var(--amber-deep); }
.card h3 { margin-top: 12px; font-size: 16px; line-height: 22px; font-weight: 700; }
.card p { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--muted); }

.with-bg { overflow: hidden; }
.with-bg > .section-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%); }
.with-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.82); }
@media (min-width: 1024px) { .with-bg::before { background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.6) 60%, rgba(255,255,255,.15)); } }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 28px; counter-reset: krok; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { display: flex; gap: 18px; }
@media (min-width: 1024px) { .step { display: block; } }
.step-badge { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; background: var(--blue); box-shadow: 0 0 0 5px rgba(255,255,255,.75), 0 8px 20px -6px rgba(10,25,47,.25); }
.step:nth-child(even) .step-badge { background: var(--amber); }
.step h3 { font-size: 17px; font-weight: 700; }
@media (min-width: 1024px) { .step h3 { margin-top: 18px; } }
.step p { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--muted); }

.offers { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 1024px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 26px; display: flex; flex-direction: column; }
.offer-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.offer--amber .offer-label { color: var(--amber-deep); }
.offer h3 { margin-top: 8px; font-size: 22px; line-height: 30px; font-weight: 800; }
.offer .price { margin-top: 6px; font-size: 30px; font-weight: 800; color: var(--navy); }
.offer .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.offer ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.offer li { display: flex; gap: 10px; }
.offer li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B57D0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer .btn { margin-top: 22px; align-self: flex-start; }
.offer p { margin-top: 10px; font-size: 15px; }

.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 20px; box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--blue); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; font-size: 15px; }

/* ---------- Stopka ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-top { display: flex; flex-direction: column; gap: 24px; padding: 40px 0; }
.footer-top img { height: 48px; width: auto; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; font-weight: 500; }
.footer-top a { color: var(--navy); text-decoration: none; }
.footer-top a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Strona zajawki (/raport) ---------- */
.report-head { padding: 40px 0 8px; }
.report-site { margin-top: 10px; font-size: 15px; color: var(--muted); word-break: break-word; }
.report-grid { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 1024px) { .report-grid { grid-template-columns: 360px 1fr; align-items: start; } }
.score-card { text-align: center; }
.score-ring {
  --p: 0; --kolor: var(--blue);
  width: 200px; height: 200px; margin: 6px auto 0; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--kolor) calc(var(--p) * 1%), var(--line) 0);
}
.score-ring::before { content: ""; grid-area: 1 / 1; width: 164px; height: 164px; border-radius: 50%; background: #fff; }
.score-value { grid-area: 1 / 1; position: relative; font-size: 46px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.score-label { margin-top: 14px; font-size: 20px; font-weight: 700; color: var(--navy); }
.score-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ton-dobry { --kolor: var(--blue); }
.ton-sredni { --kolor: var(--amber); }
.ton-slaby { --kolor: var(--red); }

.cats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 14px; }
.cat-name { color: var(--navy); font-weight: 500; }
.cat-val { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.cat-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cat-bar span { --w: 0; display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: 4px; background: var(--kolor, var(--blue)); }
.cat-row.brak .cat-val { color: var(--muted); font-weight: 500; }

/* Formularz: link do ścieżki „parafia bez strony” i pole wiadomości */
.no-site { margin-top: 14px; text-align: center; font-size: 14px; }
textarea.form-field { resize: vertical; min-height: 84px; line-height: 1.5; }

/* Zajawka „po ludzku”: licznik spraw zamiast procentu, słowna ocena obszarów zamiast pasków */
.tally { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tally li { border-radius: 14px; padding: 14px 6px; background: var(--blue-soft); }
.tally strong { display: block; font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.tally span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.tally .pilne { background: var(--red-soft); }
.tally .pilne strong { color: var(--red); }
.tally .poprawa { background: var(--amber-soft); }
.tally .porzadek strong { color: var(--green); }
.cat-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.cat-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--kolor, var(--muted)); }
.cat-row.status { grid-template-columns: 1fr auto; }
.stan-ok { --kolor: var(--green); }
.stan-poprawa { --kolor: var(--amber); }
.stan-pilne { --kolor: var(--red); }
.box li .point-name { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.author { display: flex; gap: 18px; align-items: center; margin-top: 20px; }
.author-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-name { font-weight: 700; color: var(--navy); font-size: 17px; }
.author-contact { margin-top: 6px; font-size: 15px; }

.findings { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) { .findings { grid-template-columns: 1fr 1fr; } }
.box { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 22px 24px; }
.box-title { display: flex; gap: 10px; align-items: center; font-size: 18px; font-weight: 700; color: var(--navy); }
.box-title svg { width: 22px; height: 22px; flex-shrink: 0; }
.box--red .box-title svg { color: var(--red); }
.box--green .box-title svg { color: var(--green); }
.box ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.box li { padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: 15px; line-height: 22px; color: var(--navy); }
.box--red li { background: var(--red-soft); }
.box li .tip { display: block; margin-top: 4px; color: var(--text); font-size: 14px; }
.box .empty { margin-top: 12px; color: var(--muted); font-size: 14px; }

#oferta { margin-top: 28px; }
.offer button.btn { margin-top: 22px; align-self: flex-start; }
.order { margin-top: 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.fields-nested { margin-top: 0; }
@media (min-width: 640px) { .fields-nested { grid-template-columns: 110px 1fr; } }
/* Pełny raport */
[data-r="pelny"] { margin-top: 28px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cat-box { margin-top: 16px; }
.cat-box .box-title { justify-content: space-between; }
.cat-score { font-size: 15px; font-weight: 700; color: var(--muted); }
.points { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.point { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.box, .report-grid > *, .findings > *, .offers > * { min-width: 0; }
.box li { overflow-wrap: anywhere; }
.point p { margin-top: 6px; }
.point-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; color: var(--navy); }
.point-id { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.point-crit { font-size: 12px; font-weight: 700; color: var(--red); }
.point-grade { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ocena-0 { color: var(--red); } .ocena-1 { color: var(--amber-deep); } .ocena-2 { color: var(--green); } .ocena-nd { color: var(--muted); }
.point-quote { font-style: italic; background: var(--mist); border-radius: 8px; padding: 6px 10px; }
.point-src { display: block; font-style: normal; font-size: 12px; color: var(--muted); word-break: break-all; }
.point-note { background: var(--amber-soft); border-radius: 8px; padding: 6px 10px; }
.point-tip { color: var(--navy); font-weight: 500; }
.point-law { font-size: 13px; color: var(--muted); }
.report-foot { margin: 24px 0 0; padding-bottom: 56px; }
.notice { margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); font-size: 14px; }
.state { max-width: 640px; margin: 64px auto; text-align: center; }
.state .h2 { margin-top: 12px; }
.state p { margin-top: 12px; }
.state-icon { margin: 0 auto 16px; }

/* ---------- Strony z tekstem prawnym ---------- */
.prose { max-width: 820px; margin: 0 auto; padding: 48px 0 72px; }
.prose h1 { font-size: 34px; line-height: 42px; font-weight: 800; letter-spacing: -.02em; }
.prose h2 { margin-top: 36px; font-size: 22px; line-height: 30px; font-weight: 700; }
.prose p, .prose li { font-size: 16px; line-height: 27px; }
.prose p { margin-top: 12px; }
.prose ol, .prose ul { margin: 12px 0 0; padding-left: 24px; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; line-height: 21px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--navy); background: var(--mist); }
.prose .meta { margin-top: 8px; color: var(--muted); font-size: 14px; }
