:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --teal: #0f9d86;
  --teal-bright: #22c3a6;
  --ink: #15212e;
  --muted: #5b6b7b;
  --line: #dde4ea;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --ok: #0f8a5f;
  --ok-bg: #e5f6ee;
  --warn: #9a6200;
  --warn-bg: #fff4dc;
  --bad: #b42318;
  --bad-bg: #fde8e6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 8px 24px rgba(15, 42, 68, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
.muted { color: var(--muted); font-size: .9rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 16.5l4.5 4.5L23 11.5' stroke='%2322c3a6' stroke-width='3.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.brand-name { font-weight: 750; font-size: 1.1rem; }
.brand-by { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a.btn { color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .brand-by { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--teal); color: #fff; font: inherit; font-weight: 650; padding: 14px 26px; cursor: pointer; text-decoration: none; transition: background .15s; }
.btn:hover { background: #0b8571; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 8px 16px; font-size: .9rem; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e8f0f7; padding: 72px 0 64px; }
.hero h1 { color: #fff; }
.hero .accent { color: var(--teal-bright); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--teal-bright); font-weight: 650; }
.lead { font-size: 1.15rem; max-width: 720px; color: #c9d7e4; }
.check-form { display: flex; gap: 10px; max-width: 620px; margin-top: 28px; }
.check-form input { flex: 1; min-width: 0; padding: 15px 18px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-size: 1.1rem; }
.check-form input:focus { outline: none; border-color: var(--teal-bright); }
.hint { font-size: .9rem; color: #9fb3c6; margin-top: 10px; }
@media (max-width: 520px) { .check-form { flex-direction: column; } }

/* result card */
.result { scroll-margin-top: 72px; margin-top: 28px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; max-width: 860px; }
.result h2 { font-size: 1.35rem; margin-bottom: 4px; }
.result .ids { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .85rem; font-weight: 650; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; margin: 0 0 16px; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.accounts { margin: 8px 0 16px; padding: 0; list-style: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.accounts li { padding: 6px 12px; border-bottom: 1px solid var(--line); }
.accounts li:last-child { border-bottom: 0; }
.proof { background: var(--bg-alt); border-radius: 8px; padding: 12px 14px; font-size: .92rem; }
.proof code { font-weight: 700; }
.upsell { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.upsell p { margin: 0; }
.error { color: var(--bad); font-weight: 600; margin: 0; }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.risk .card h3 { color: var(--bad); }
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.checklist { list-style: none; padding: 0; margin: 0; columns: 2 280px; }
.checklist li { padding: 6px 0 6px 30px; position: relative; break-inside: avoid; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%230f8a5f' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.price { font-size: 2rem; font-weight: 750; color: var(--navy); margin: 0; }
.price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan-scope { font-weight: 650; color: var(--teal); }

/* waitlist */
.waitlist { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.waitlist label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.waitlist input[type=email], .waitlist input[type=text], .waitlist select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; }
.waitlist .consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.waitlist .consent input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--bad); }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; color: var(--navy); }
details p { margin: 12px 0 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy); color: #c9d7e4; padding: 32px 0; font-size: .95rem; }
.site-footer a { color: var(--teal-bright); }
.site-footer .muted { color: #9fb3c6; }

/* legal page */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }

/* telefon: krótszy nagłówek, przycisk w jednej linii */
.btn-small { white-space: nowrap; }
@media (max-width: 520px) {
  body { font-size: 16px; }
  .header-inner { min-height: 56px; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 26px; height: 26px; }
  .nav .btn-small { padding: 7px 12px; font-size: .85rem; }
  .hero { padding: 32px 0 36px; }
  .hero h1 { font-size: 1.75rem; }
  .lead { font-size: 1rem; }
  .check-form { margin-top: 20px; }
  .result { padding: 18px; }
  .section { padding: 48px 0; }
}
