/* ============================================================
   sprzeciw24 — design system (bez Tailwinda)
   ============================================================ */

:root {
  --navy-950: #081c2e;
  --navy-900: #0f3d63;
  --navy-800: #123a5c;
  --navy-700: #1b4d76;
  --navy-600: #236192;
  --navy-500: #337aad;
  --navy-200: #b9d7ec;
  --navy-100: #dcebf6;
  --navy-50: #f0f6fb;

  --sky-300: #7dd3fc;
  --sky-200: #bae6fd;
  --sky-100: #e0f2fe;

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;

  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #f8fafc;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 24px 60px -32px rgba(8, 28, 46, 0.35);
  --shadow-sm: 0 1px 2px rgba(8, 28, 46, 0.06);
  --shadow-lg: 0 34px 90px -30px rgba(8, 28, 46, 0.55);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(51, 122, 173, 0.35);
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container-narrow {
  max-width: 720px;
}

@media (min-width: 640px) {
  .container,
  .container-narrow {
    padding-inline: 24px;
  }
}

/* ---------- topbar / urgency ---------- */
.topbar {
  background: var(--navy-950);
  color: #bae6fd;
  text-align: center;
  padding: 9px 16px;
  font-size: 13.5px;
}

.topbar strong {
  color: #fff;
}

/* ---------- header ---------- */
.header {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.1;
  margin-top: 2px;
}

.nav {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--navy-900);
  border-radius: 12px;
  padding: 10px 16px;
  transition: background 0.15s;
}

.header-cta:hover {
  background: var(--navy-800);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  border-radius: 14px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-auto {
  width: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(15, 61, 99, 0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}

.btn-light {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 18px 40px -18px rgba(8, 28, 46, 0.6);
}

.btn-light:hover {
  background: var(--sky-100);
}

.btn-secondary {
  background: #fff;
  color: var(--ink-soft);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--navy-200);
}

.btn-link:hover {
  color: var(--navy-900);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(900px 600px at 95% 110%, rgba(16, 185, 129, 0.14), transparent 55%),
    linear-gradient(160deg, #081c2e 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 52px;
  padding: 60px 0 68px;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    padding: 80px 0 88px;
  }
}

.hero-copy {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-copy {
    text-align: left;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--sky-200);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.hero h1 {
  margin: 20px 0 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: #fff;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 58px;
  }
}

.hero h1 .accent {
  color: var(--sky-300);
}

.hero-sub {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(224, 242, 254, 0.92);
  max-width: 30rem;
}

@media (min-width: 1024px) {
  .hero-sub {
    margin-left: 0;
  }
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-bullets {
    justify-content: flex-start;
  }
}

.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--sky-100);
}

.hero-bullets svg {
  color: var(--emerald-400);
  flex: none;
}

.hero-actions {
  margin-top: 30px;
}

.hero-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(186, 230, 253, 0.82);
}

/* ---------- glass product card ---------- */
.visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.visual-glow {
  position: absolute;
  inset: -26px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(16, 185, 129, 0.16));
  filter: blur(42px);
}

.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 26px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.glass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.glass-head-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.glass-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.glass-sub {
  font-size: 12px;
  color: var(--sky-200);
  opacity: 0.85;
  margin-top: 1px;
}

.glass-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: var(--emerald-300);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.glass-lines {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.glass-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.glass-lines span:nth-child(1) { width: 72%; }
.glass-lines span:nth-child(2) { width: 100%; }
.glass-lines span:nth-child(3) { width: 84%; }
.glass-lines span:nth-child(4) { width: 100%; }
.glass-lines span:nth-child(5) { width: 60%; }

.glass-download {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 16px;
}

.glass-download-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.glass-download-left svg {
  color: var(--sky-300);
  flex: none;
}

.glass-pill {
  flex: none;
  background: #fff;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 12px;
}

.float-chip {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
}

.float-chip .t {
  font-size: 12.5px;
  font-weight: 700;
}

.float-chip .s {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.float-chip--deadline {
  top: 36%;
  left: -18px;
}

.float-chip--instruction {
  bottom: 40px;
  right: -14px;
}

@media (max-width: 420px) {
  .float-chip--deadline { left: -6px; }
  .float-chip--instruction { right: -4px; }
}

/* ---------- trust strip ---------- */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
  padding: 34px 0;
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon--emerald { background: var(--emerald-50); color: var(--emerald-600); }
.trust-icon--sky { background: var(--sky-100); color: var(--navy-700); }
.trust-icon--amber { background: #fffbeb; color: #d97706; }
.trust-icon--rose { background: #fff1f2; color: #e11d48; }

.trust-item .t {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.trust-item .s {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}

/* ---------- sections ---------- */
.section {
  padding: 56px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 72px 0;
  }
}

.section-heading {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin: 0;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  max-width: 32rem;
  margin: 12px auto 0;
}

/* ---------- card ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-pad {
  padding: 26px;
}

@media (min-width: 640px) {
  .card-pad {
    padding: 34px;
  }
}

.card-shadow {
  box-shadow: var(--shadow-card);
}

/* ---------- steps ---------- */
.steps {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.steps-sep {
  height: 1px;
  background: var(--line);
  flex: 0.4;
}

.step-dot {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.step-dot.is-active {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
}

.step-dot.is-done {
  border-color: var(--emerald-600);
  background: var(--emerald-600);
  color: #fff;
}

.step-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.step-label.is-active {
  color: var(--ink);
  font-weight: 700;
}

.step-label.is-done {
  color: var(--emerald-700);
}

@media (max-width: 639px) {
  .step-label {
    display: none;
  }
}

/* ---------- forms ---------- */
.field {
  margin-bottom: 20px;
}

.label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.label .req {
  color: #dc2626;
}

.hint {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.5;
}

.input {
  display: block;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.input::placeholder {
  color: var(--muted-2);
}

.input:focus {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(51, 122, 173, 0.14);
  outline: none;
}

.input.is-invalid {
  border-color: #f87171;
  background: #fef2f2;
}

.error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  margin: 7px 0 0;
}

/* checkbox */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--navy-700);
}

.checkbox-row .text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- deadline ---------- */
.deadline {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--navy-50);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.deadline.is-ok {
  border-color: #a7f3d0;
  background: var(--emerald-50);
  color: #065f46;
}

.deadline.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.deadline-icon {
  flex: none;
  margin-top: 1px;
  color: var(--navy-600);
}

.deadline.is-ok .deadline-icon { color: var(--emerald-600); }
.deadline.is-error .deadline-icon { color: #dc2626; }

.deadline-text {
  font-weight: 500;
}

.deadline-warning {
  font-size: 12.5px;
  font-weight: 500;
  margin-top: 5px;
}

.deadline-warning.is-error { color: #b91c1c; }
.deadline-warning.is-ok { color: var(--emerald-700); }

/* ---------- section titles inside form ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 18px;
}

.section-num {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.form-divider {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 28px 0;
}

/* ---------- alerts ---------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 14px;
  line-height: 1.55;
}

.alert--amber {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.alert--red {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 500;
}

.alert--sky {
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #075985;
}

.alert-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

/* ---------- paper preview ---------- */
.paper-stage {
  background: #e8edf2;
  border-radius: var(--radius-lg);
  padding: 18px;
}

@media (min-width: 640px) {
  .paper-stage {
    padding: 28px;
  }
}

.paper {
  background: #fff;
  color: #111;
  font-size: 12.5px;
  line-height: 1.72;
  padding: 34px 38px;
  border-radius: 5px;
  box-shadow: 0 12px 34px -16px rgba(8, 28, 46, 0.3);
  text-align: left;
}

@media (min-width: 640px) {
  .paper {
    padding: 46px 52px;
  }
}

.paper p {
  margin: 0 0 9px;
}

.paper .doc-date {
  text-align: right;
  margin-bottom: 18px;
}

.paper .doc-court {
  margin-bottom: 16px;
}

.paper .doc-parties {
  margin-bottom: 16px;
}

.paper .doc-parties p {
  margin-bottom: 3px;
}

.paper .paper-label {
  font-weight: 700;
}

.paper-title {
  font-size: 15.5px;
  font-weight: 800;
  text-align: center;
  margin: 22px 0 18px;
  line-height: 1.35;
}

.paper .doc-list {
  list-style: decimal;
  margin: 0 0 12px;
  padding-left: 24px;
}

.paper .doc-list li {
  margin-bottom: 6px;
}

.paper .doc-heading {
  font-weight: 700;
  margin: 18px 0 8px;
}

.paper .signature {
  margin-top: 34px;
  margin-left: auto;
  width: 230px;
  border-top: 1px solid #333;
  padding-top: 5px;
  text-align: center;
  font-size: 11.5px;
  color: #333;
}

.paper .footnote {
  margin-top: 26px;
  font-size: 10.5px;
  color: #555;
  line-height: 1.5;
}

/* ---------- preview meta ---------- */
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.badge--emerald {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid #a7f3d0;
}

/* ---------- summary dl ---------- */
.summary {
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px;
}

.summary dl {
  margin: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 8px 0;
}

.summary-row + .summary-row {
  border-top: 1px solid var(--line-soft);
}

.summary-row dt {
  color: var(--muted);
}

.summary-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ---------- how it works ---------- */
.how-grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

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

.how-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.how-num {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 0;
}

.how-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 8px 0 0;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--line-soft);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- final CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(160deg, #081c2e, var(--navy-900));
  text-align: center;
}

.cta-band .container {
  position: relative;
}

.cta-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.cta-sub {
  font-size: 16px;
  color: var(--sky-100);
  max-width: 32rem;
  margin: 14px auto 0;
}

.cta-band .btn {
  margin-top: 30px;
}

/* ---------- disclaimer ---------- */
.disclaimer {
  border-top: 1px solid var(--line);
  background: #f1f5f9;
}

.disclaimer p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  margin: 0;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: #9fb6c9;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 0;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 700;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 13px;
  font-weight: 500;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 26px;
  font-size: 11.5px;
  color: #71879c;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal {
  margin: 0;
  padding: 0 0 24px;
  font-size: 12px;
  line-height: 1.6;
  color: #71879c;
}

/* ---------- reveal animation ---------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-1 { animation-delay: 0.06s; }
.reveal-2 { animation-delay: 0.14s; }
.reveal-3 { animation-delay: 0.22s; }

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

/* ---------- spinner ---------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 0.9s linear infinite;
}

/* ---------- misc utilities ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.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;
}

/* ---------- demo checkout ---------- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.method-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-option:has(input:checked) {
  border-color: var(--navy-900);
  background: var(--navy-50);
}

.card-head {
  padding: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.card-body {
  padding: 22px;
}

.pay-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.pay-methods {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.pay-methods span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 9px;
}

/* ---------- success page ---------- */
.status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon--emerald { background: var(--emerald-600); color: #fff; box-shadow: 0 16px 34px -14px rgba(5, 150, 105, 0.55); }
.status-icon--navy { background: var(--navy-50); color: var(--navy-700); }
.status-icon--amber { background: #fffbeb; color: #d97706; }
.status-icon--red { background: #fef2f2; color: #dc2626; }

.next-steps {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

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

.next-steps li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.next-steps .num {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden{display:none!important}

/* ---------- envelope (wzór koperty) ---------- */
.envelope {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
.envelope::after {
  content: 'znaczek';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 54px;
  height: 66px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.envelope-sender {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
  max-width: 280px;
}
.envelope-recipient {
  align-self: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
  text-align: center;
  padding: 20px 26px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  max-width: 100%;
}
@media (min-width: 640px) {
  .envelope-recipient {
    min-width: 360px;
  }
}

/* ---------- reviews (opinie klientów) ---------- */
.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card .stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-card .review-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
}
.review-card .review-author {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.review-card .review-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ---------- moje pisma ---------- */
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}
.pismo-item {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pismo-item + .pismo-item {
  margin-top: 12px;
}
.pismo-main {
  flex: 1 1 240px;
  min-width: 0;
}
.pismo-sygnatura {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pismo-powod {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.pismo-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}
.pismo-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.pismo-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pismo-badge--green { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pismo-badge--amber { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.pismo-badge--red { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.pismo-badge--gray { background: #f8fafc; color: var(--muted); border: 1px solid var(--line); }

/* ---------- CRO: pasek urgencji w nagłówku ---------- */
.header-urgency {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f59e0b;
  color: #0f3d63;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  letter-spacing: 0.01em;
}

/* ---------- CRO: oś czasu „co się stanie" ---------- */
.risk-band {
  background: #0f3d63;
  color: #fff;
}
.risk-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.risk-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px;
}
.risk-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f59e0b;
  color: #0f3d63;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
}
.risk-step .t {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.risk-step .s {
  margin-top: 5px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* ---------- CRO: plakietka oceny ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.rating-badge .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* ---------- CRO: sticky CTA na mobile ---------- */
.sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 16px;
  }
  .sticky-cta .btn {
    width: 100%;
  }
}
