/* ══════════════════════════════════════════
   DESIGN SYSTEM - Enterprise B2B, Inter, 4px radii
   ══════════════════════════════════════════ */
:root {
  --navy-900: #080C18;
  --navy-800: #0C1324;
  --navy-700: #111A30;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --accent: hsl(221, 83%, 53%);
  --accent-hover: hsl(221, 83%, 46%);
  --accent-glow: hsla(221, 83%, 53%, 0.15);
  --green: #059669;
  --red: #DC2626;
  --amber: #D97706;
  --text-on-dark: #F1F5F9;
  --text-muted: rgba(241,245,249,0.55);
  --border: #E2E8F0;
  --border-dark: rgba(241,245,249,0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1140px;
  --r: 6px;
  --r-md: 8px;
  --t: 0.2s ease;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 1px 4px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.03);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 20px var(--accent-glow), 0 0 40px rgba(37,99,235,0.06);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--slate-700); background: var(--white); overflow-x: hidden; letter-spacing: -0.01em; font-feature-settings: 'cv11', 'ss01'; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ══ HEADER ══ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(8,12,24,0.92); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border-bottom: 1px solid rgba(241,245,249,0.06); }
.header::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,0.2) 30%, rgba(37,99,235,0.3) 50%, rgba(37,99,235,0.2) 70%, transparent 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text-on-dark); white-space: nowrap; text-decoration: none; }
.logo-brand { display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -1.5px; font-size: 22px; line-height: 1; }
.logo-brand-strefa { color: var(--text-on-dark); }
.logo-brand-kursow { color: #2196F3; }
/* Enterprise sub-brand lockup ("dla firm" pill obok logo) */
.logo-suite { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid rgba(33,150,243,0.35); background: linear-gradient(135deg, rgba(33,150,243,0.10) 0%, rgba(99,102,241,0.08) 100%); border-radius: 4px; font-size: 10px; font-weight: 650; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(241,245,249,0.88); line-height: 1; box-shadow: inset 0 1px 0 rgba(241,245,249,0.06); transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.logo:hover .logo-suite { background: linear-gradient(135deg, rgba(33,150,243,0.18) 0%, rgba(99,102,241,0.14) 100%); border-color: rgba(33,150,243,0.55); color: var(--text-on-dark); box-shadow: inset 0 1px 0 rgba(241,245,249,0.10), 0 0 12px rgba(33,150,243,0.15); }
.nav-links { display: none; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); transition: color var(--t); }
.nav-links a:hover { color: var(--text-on-dark); }
.header-cta { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; background: var(--accent); color: white; font-size: 13px; font-weight: 600; border-radius: var(--r); transition: background var(--t); white-space: nowrap; }
.header-cta:hover { background: var(--accent-hover); }
.header-cta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-toggle { display: flex; flex-direction: column; gap: 4px; padding: 8px 4px; }
.mobile-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text-on-dark); transition: transform 0.25s ease, opacity 0.25s ease; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav dropdown */
.mobile-nav { display: none; position: fixed; top: 52px; left: 0; right: 0; background: rgba(10,15,28,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-dark); z-index: 999; padding: 12px 20px 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; align-items: center; padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border-dark); transition: color var(--t); min-height: 48px; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text-on-dark); }

/* ══ MODALS ══ */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(10,15,28,0.7); backdrop-filter: blur(4px); align-items: flex-end; justify-content: center; padding: 0; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: var(--r-md) var(--r-md) 0 0; box-shadow: 0 -4px 40px rgba(0,0,0,0.15), 0 -12px 60px rgba(0,0,0,0.1); width: 100%; max-width: 100%; position: relative; animation: modalUp 0.25s ease; max-height: 92vh; max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@keyframes modalUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: var(--r); background: var(--slate-100); display: flex; align-items: center; justify-content: center; z-index: 1; cursor: pointer; transition: background var(--t); }
.modal-close:hover { background: var(--slate-200); }
.modal-close svg { width: 16px; height: 16px; stroke: var(--slate-500); fill: none; stroke-width: 2; stroke-linecap: round; }
.modal-header { padding: 28px 20px 0; }
.modal-header h3 { font-size: 17px; font-weight: 700; color: var(--navy-800); letter-spacing: -0.02em; margin-bottom: 4px; line-height: 1.3; padding-right: 32px; }
.modal-header p { font-size: 13px; color: var(--slate-500); line-height: 1.5; }
.modal-body { padding: 20px; }
.modal-field { margin-bottom: 12px; }
.modal-field label { display: block; font-size: 12px; font-weight: 600; color: var(--slate-600); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.modal-field input, .modal-field select, .modal-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); font-family: var(--font); font-size: 16px; color: var(--slate-700); background: var(--white); transition: border-color var(--t); outline: none; -webkit-appearance: none; }
.modal-field textarea { resize: vertical; min-height: 72px; line-height: 1.4; }
.modal-field input:focus, .modal-field select:focus, .modal-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.modal-field input.error { border-color: var(--red); }
.modal-field input.warn { border-color: var(--amber); }
.modal-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.field-error { display: none; font-size: 12px; color: var(--red); margin-top: 4px; line-height: 1.4; }
.field-error.visible { display: block; }
.field-warn { display: none; font-size: 12px; color: var(--amber); margin-top: 4px; line-height: 1.4; }
.field-warn.visible { display: block; }
.modal-submit { width: 100%; padding: 14px 20px; background: var(--accent); color: white; font-size: 16px; font-weight: 600; border-radius: var(--r); border: none; cursor: pointer; transition: background var(--t); margin-top: 4px; min-height: 48px; }
.modal-submit:hover { background: var(--accent-hover); }
.modal-fine-print { font-size: 12px; color: var(--slate-400); text-align: center; margin-top: 12px; line-height: 1.5; }
.modal-success { display: none; text-align: center; padding: 40px 20px; }
.modal-success.visible { display: block; }
.modal-success h3 { font-size: 17px; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; }
.modal-success p { font-size: 14px; color: var(--slate-500); }
.modal-success-check { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.modal-success-check svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 2.5; }

/* Calendly modal */
.calendly-modal .modal-body { padding: 0; }
.calendly-placeholder { display: flex; flex-direction: column; align-items: center; padding: 28px 20px; text-align: center; }
.calendly-placeholder h3 { font-size: 17px; font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.calendly-placeholder p { font-size: 13px; color: var(--slate-500); margin-bottom: 16px; max-width: 320px; }
/* Host card in Calendly modal — compact 3-column (avatar | info | details), no frame */
.calendly-subtitle { margin: 4px 0 14px; font-size: 13px; color: var(--slate-500); line-height: 1.5; }
.calendly-host-card { margin: 0 !important; padding: 0; background: transparent; border: none; border-radius: 0; max-width: none !important; gap: 12px !important; align-items: center; flex-wrap: wrap; }
.calendly-host-card .contact-photo { width: 44px; height: 44px; }
.calendly-host-card .contact-info { flex: 1 1 auto; min-width: 0; }
.calendly-host-card .contact-name { font-size: 13.5px; font-weight: 700; }
.calendly-host-card .contact-role { font-size: 12px; margin-bottom: 0; color: var(--slate-500); }
.calendly-host-card .contact-details { flex-direction: column; gap: 2px; align-items: flex-end; text-align: right; }
.calendly-host-card .contact-details a { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.calendly-embed-frame { width: 100%; height: 700px; border: none; border-radius: 0 0 var(--r-md) var(--r-md); }

/* ══ HERO ══ */
.hero { position: relative; background: var(--navy-900); padding: 84px 0 40px; overflow: hidden; border-bottom: 1px solid var(--border-dark); }
/* Subtle dot grid - enterprise depth */
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(241,245,249,0.035) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
/* Soft radial glow top-right - directional light */
.hero::after { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0.02) 40%, transparent 70%); pointer-events: none; border-radius: 50%; }
/* Hero two-column layout */
.hero-layout { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; }
.hero-content { max-width: 720px; display: flex; flex-direction: column; }
.hero-content .hero-segment { order: 2; margin-top: 0; margin-bottom: 12px; }
.hero-content h1 { order: 3; }
.hero-content .hero-sub { order: 4; }
.hero-content .hero-audience { order: 5; }
.hero-content .hero-ctas { order: 6; }
.hero-mockup { display: none; }

/* Dashboard mockup - window chrome */
.mockup-window { background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06); position: relative; }
.mockup-titlebar { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: #1a1f2e; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-dot { width: 7px; height: 7px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #EF4444; }
.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #10B981; }
.mockup-titlebar-text { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.4); margin-left: 10px; letter-spacing: 0.01em; }

/* Dashboard body - sidebar + main */
.mockup-body { display: flex; min-height: 280px; }
.mockup-sidebar { width: 56px; background: var(--navy-900); display: flex; flex-direction: column; align-items: center; padding: 10px 0 8px; gap: 0; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,0.04); }
.mockup-sidebar-logo { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 14px; letter-spacing: -0.06em; line-height: 1; margin-bottom: 12px; }
.mockup-brand-s { color: var(--text-on-dark, #fff); }
.mockup-brand-k { color: #2196F3; }
.mockup-sidebar-nav { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0 6px; }
.mockup-sidebar-item { height: 28px; border-radius: 4px; display: flex; align-items: center; padding: 0 8px; }
.mockup-sidebar-item--active { background: rgba(37,99,235,0.15); }
.mockup-sidebar-icon { width: 12px; height: 2px; border-radius: 1px; background: rgba(241,245,249,0.15); }
.mockup-sidebar-item--active .mockup-sidebar-icon { background: var(--accent); }

/* Main content area */
.mockup-main { flex: 1; padding: 0; display: flex; flex-direction: column; }
.mockup-topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--slate-100); }
.mockup-topbar-left { display: flex; gap: 6px; }
.mockup-topbar-tab { font-size: 8px; font-weight: 500; color: var(--slate-400); padding: 3px 6px; border-radius: 3px; }
.mockup-topbar-tab--active { color: var(--navy-900); font-weight: 600; background: var(--slate-50); }
.mockup-topbar-icons { display: flex; gap: 6px; }
.mockup-topbar-icon { width: 14px; height: 14px; border-radius: 50%; background: var(--slate-100); }
.mockup-topbar-avatar { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); opacity: 0.6; }

.mockup-content { padding: 12px 14px; flex: 1; }
.mockup-page-title { font-size: 13px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; letter-spacing: -0.01em; }

/* Stats row - 4 columns like screenshot */
.mockup-stats { display: flex; gap: 6px; margin-bottom: 12px; }
.mockup-stat { flex: 1; border: 1px solid var(--border); border-radius: 4px; padding: 8px 8px; text-align: center; }
.mockup-stat--accent { background: var(--accent); border-color: var(--accent); }
.mockup-stat--accent .mockup-stat-val { color: white; }
.mockup-stat--accent .mockup-stat-label { color: rgba(255,255,255,0.7); }
.mockup-stat-val { font-size: 14px; font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; margin-bottom: 2px; }
.mockup-stat-label { font-size: 6px; font-weight: 500; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; }

/* Chart area */
.mockup-chart { margin-bottom: 10px; }
.mockup-chart-title { font-size: 9px; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.mockup-chart-area { height: 50px; position: relative; border-bottom: 1px solid var(--slate-100); border-left: 1px solid var(--slate-100); }
.mockup-chart-line { position: absolute; bottom: 0; left: 0; right: 0; height: 100%; }
.mockup-chart-line svg { width: 100%; height: 100%; }

/* Employee table */
.mockup-table { width: 100%; }
.mockup-table-title { font-size: 9px; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.mockup-table-head { display: flex; padding: 3px 0; border-bottom: 1px solid var(--slate-200); gap: 4px; }
.mockup-table-head span { font-size: 6px; font-weight: 600; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.03em; }
.mockup-table-head span:first-child { flex: 1; }
.mockup-table-head span:not(:first-child) { width: 36px; text-align: right; }
.mockup-table-row { display: flex; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--slate-50); gap: 4px; }
.mockup-table-user { flex: 1; display: flex; align-items: center; gap: 4px; }
.mockup-table-avatar { width: 12px; height: 12px; border-radius: 50%; background: var(--slate-200); flex-shrink: 0; }
.mockup-table-name { font-size: 7px; font-weight: 600; color: var(--slate-700); }
.mockup-table-cell { width: 36px; text-align: right; font-size: 7px; font-variant-numeric: tabular-nums; color: var(--slate-500); }
.mockup-table-badge { font-size: 6px; font-weight: 700; padding: 1px 4px; border-radius: 2px; }
.mockup-table-badge--up { background: rgba(5,150,105,0.1); color: var(--green); }

/* Ambient glow under mockup */
.mockup-glow { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); width: 80%; height: 50px; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); pointer-events: none; filter: blur(20px); }
.mockup-glow-left { position: absolute; top: 20%; left: -30px; width: 80px; height: 60%; background: radial-gradient(ellipse at center, hsla(221,83%,53%,0.12) 0%, hsla(221,83%,53%,0.04) 50%, transparent 80%); pointer-events: none; filter: blur(16px); border-radius: 50%; }

.hero h1 { font-size: clamp(24px, 6vw, 28px); font-weight: 800; color: var(--text-on-dark); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 12px; }
.hero-segment { font-size: 12px; font-weight: 600; color: hsl(221, 83%, 72%); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
/* Safety pack - zielony label z lewym paskiem akcentu */
.hero-segment--safety { display: inline-block; padding: 4px 0 4px 14px; border-left: 2px solid hsl(142, 65%, 55%); color: hsl(142, 65%, 70%); }
.hero-sub { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.hero-sub--secondary { font-size: 14px; opacity: 0.85; margin-top: -4px; }
.hero-audience { font-size: 13.5px; color: hsl(221, 25%, 70%); line-height: 1.55; margin: 0 0 28px; padding-left: 12px; border-left: 2px solid hsl(221, 50%, 35%); max-width: 580px; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.btn-primary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; background: var(--accent); color: white; font-size: 15px; font-weight: 600; border-radius: var(--r); border: none; cursor: pointer; transition: all 0.25s ease; min-height: 48px; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.btn-primary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; background: transparent; color: var(--text-muted); font-size: 15px; font-weight: 500; border-radius: var(--r); border: 1px solid rgba(241,245,249,0.12); cursor: pointer; transition: var(--t); min-height: 48px; }
.btn-secondary:hover { color: var(--text-on-dark); border-color: rgba(241,245,249,0.25); }
.btn-secondary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ══ SOCIAL PROOF ══ */
/* ── Premium B2B logo section ── */
.social-proof { padding: 40px 0 44px; background: var(--white); border-bottom: none; box-shadow: inset 0 1px 0 var(--border); position: relative; }
.proof-label { font-size: 11px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 32px; text-align: center; }
.proof-label b { color: var(--navy-800); font-weight: 700; }
.logo-client { font-size: 14px; font-weight: 700; color: var(--slate-400); letter-spacing: -0.01em; user-select: none; transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease; display: inline-flex; align-items: center; justify-content: center; height: 30px; flex-shrink: 0; filter: grayscale(100%) brightness(1.02) contrast(0.95); opacity: 0.55; }
.logo-client:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-1px); }
.logo-client img { height: 100%; width: auto; max-height: 30px; object-fit: contain; display: block; }
/* Optical size balancing — some logos have no breathing room in the asset and render optically too large; others have lots of whitespace and appear too small */
.logo-client--compact { height: 24px; }
.logo-client--compact img { max-height: 24px; }
.logo-client--wide { height: 32px; }
.logo-client--wide img { max-height: 32px; }

/* ── Animated logo marquee (2 rows, opposite directions) ── */
.logos-marquee { display: flex; flex-direction: column; gap: 28px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.logos-seq { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex-shrink: 0; }
.logos-track--ltr { animation: logos-scroll-ltr 55s linear infinite; }
.logos-track--rtl { animation: logos-scroll-rtl 62s linear infinite; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logos-scroll-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .logos-track--ltr, .logos-track--rtl { animation: none; } }

/* ══ SOCIAL STRIP (compact) - na podstronach: biblioteka-AI, sciezki, kody, safety-pack ══ */
.social-strip { padding: 24px 0 26px; background: var(--white); border-bottom: 1px solid var(--border); }
.social-strip-label { font-size: 10.5px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.16em; text-align: center; margin-bottom: 16px; }
/* Scroll horyzontalny ZAWSZE - jeden rząd niezależnie od szerokości */
.social-strip-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  margin: 0 -20px;
  padding: 0 20px;
  scroll-snap-type: x proximity;
}
.social-strip-scroll::-webkit-scrollbar { display: none; }
.social-strip-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  margin: 0 auto;
  padding: 0 4px;
}
.social-strip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(1.02) contrast(0.95);
  opacity: 0.5;
  transition: filter 0.35s ease, opacity 0.35s ease;
  scroll-snap-align: center;
}
.social-strip-logo:hover { filter: grayscale(0%); opacity: 1; }
.social-strip-logo img { height: 100%; width: auto; max-height: 22px; object-fit: contain; display: block; }

/* ══ TRUST BAND (logo + 3 liczby) - na podstronach: pula-licencji, roczny-dostep ══ */
.trust-band { padding: 28px 0 36px; background: var(--white); border-bottom: 1px solid var(--border); }
.trust-band-label { font-size: 10.5px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.16em; text-align: center; margin-bottom: 18px; }
/* Scroll horyzontalny ZAWSZE */
.trust-band-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  margin: 0 -20px 30px;
  padding: 0 20px;
  scroll-snap-type: x proximity;
}
.trust-band-scroll::-webkit-scrollbar { display: none; }
.trust-band-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  margin: 0 auto;
  padding: 0 4px;
}
.trust-band-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(1.02) contrast(0.95);
  opacity: 0.5;
  transition: filter 0.35s ease, opacity 0.35s ease;
  scroll-snap-align: center;
}
.trust-band-logo:hover { filter: grayscale(0%); opacity: 1; }
.trust-band-logo img { height: 100%; width: auto; max-height: 22px; object-fit: contain; display: block; }
/* Liczby - subtelny pasek inline, dodatek do logo (nie konkuruje z nimi) */
.trust-band-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  max-width: 720px;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate-500);
}
.trust-band-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.trust-band-stat-val {
  font-weight: 600;
  color: var(--slate-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.trust-band-stat-label {
  font-weight: 400;
  color: var(--slate-500);
}
.trust-band-stat + .trust-band-stat::before {
  content: '·';
  color: var(--slate-300);
  margin-right: 13px;
  font-weight: 400;
}
@media (max-width: 600px){
  .trust-band { padding: 22px 0 26px; }
  .trust-band-stats { flex-direction: column; gap: 4px; }
  .trust-band-stat + .trust-band-stat::before { display: none; }
}

/* ══ ROI STRIP ══ */
.roi-strip { padding: 0; background: var(--navy-900); border-bottom: 1px solid var(--border-dark); position: relative; }
.roi-strip::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; max-width: 500px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-glow), transparent); pointer-events: none; }
.roi-strip::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(241,245,249,0.03) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.roi-strip-inner { position: relative; z-index: 1; padding: 40px 0 32px; max-width: 860px; margin: 0 auto; }
.roi-strip-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 28px; text-align: center; }
.roi-strip-content { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.roi-col { width: 100%; max-width: 320px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.roi-col-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.roi-col-val { font-size: clamp(30px, 5vw, 42px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.roi-old .roi-col-val { color: var(--slate-400); text-decoration: line-through; text-decoration-color: rgba(241,245,249,0.22); text-decoration-thickness: 2px; }
.roi-new .roi-col-val { color: var(--text-on-dark); }
.roi-col-desc { font-size: 13px; color: var(--text-muted); line-height: 1.45; max-width: 28ch; margin: 0 auto; }
.roi-col-context { font-size: 13.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.005em; max-width: 30ch; margin: 2px auto 0; }
.roi-col-context--bad { color: var(--slate-400); }
.roi-col-context--good { color: var(--green); }
.roi-vs { font-size: 11px; font-weight: 700; color: var(--text-muted); padding: 6px 12px; background: rgba(241,245,249,0.04); border: 1px solid var(--border-dark); border-radius: 999px; align-self: center; text-align: center; letter-spacing: 0.1em; text-transform: uppercase; position: relative; }
/* Mobile only: VS chip flanked by hairlines */
.roi-vs::before, .roi-vs::after { content: ''; position: absolute; top: 50%; width: 60px; height: 1px; background: var(--border-dark); }
.roi-vs::before { right: calc(100% + 12px); }
.roi-vs::after { left: calc(100% + 12px); }
.roi-cta-row { text-align: center; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--border-dark); }
.roi-cta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: var(--accent); color: white; font-family: var(--font); font-size: 14px; font-weight: 600; border-radius: var(--r); border: none; cursor: pointer; transition: all 0.25s ease; min-height: 44px; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.roi-cta-btn:hover { background: var(--accent-hover); box-shadow: 0 2px 8px rgba(0,0,0,0.18); }

/* ══ SECTIONS ══ */
.section-label { font-size: 12px; font-weight: 600; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.section-title { font-size: 20px; font-weight: 800; color: var(--navy-800); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 10px; }
.section-desc { font-size: 15px; color: var(--slate-500); line-height: 1.55; max-width: 520px; }

/* ══ USE CASES — Najczęstsze zastosowania ══ */
.use-cases { border-bottom: none; padding: 40px 0; background: var(--slate-50); border-bottom: 1px solid var(--border); }
.use-cases-header { margin-bottom: 20px; }
.use-cases-title { font-size: 22px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0; }
.use-cases-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.use-cases-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.use-cases-item:first-child { border-top: none; padding-top: 4px; }
.use-cases-num { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; padding-top: 1px; flex-shrink: 0; min-width: 22px; line-height: 1.5; }
.use-cases-text { font-size: 14.5px; color: var(--slate-700); line-height: 1.5; font-weight: 500; }

/* ══ GATES — Modele współpracy (enterprise refresh) ══ */
.gates { border-bottom: none; padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.gates-header { margin-bottom: 28px; }

/* Primary 3-up grid */
.gates-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
/* Secondary 3-up grid (2 compact + 1 helper) */
.gates-secondary { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }

/* Card base — separated cards instead of welded grid */
.gate-card { position: relative; display: flex; flex-direction: column; padding: 22px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); text-decoration: none; color: inherit; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; min-height: 48px; }
.gate-card:hover { border-color: var(--slate-300); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Variants */
.gate-card--featured { background: linear-gradient(180deg, rgba(37,99,235,0.05) 0%, rgba(37,99,235,0.015) 100%); border-color: rgba(37,99,235,0.35); box-shadow: 0 0 0 1px rgba(37,99,235,0.08), var(--shadow-sm); }
.gate-card--featured:hover { border-color: rgba(37,99,235,0.55); box-shadow: 0 0 0 1px rgba(37,99,235,0.18), var(--shadow-md); }
.gate-card--enterprise { background: var(--slate-50); border-color: var(--slate-200); }
.gate-card--enterprise:hover { background: var(--white); border-color: var(--navy-800); }
.gate-card--compact { padding: 18px 18px; }
.gate-card--compact h3 { font-size: 16px; }
.gate-card--helper { background: var(--slate-50); border: 1px dashed var(--slate-300); cursor: default; justify-content: center; padding: 18px 18px; }
.gate-card--helper h3 { font-size: 16px; }
.gate-card--helper:hover { transform: none; box-shadow: none; border-color: var(--slate-400); }

/* Badges */
.gate-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 10px; background: var(--accent); border-radius: var(--r); margin-bottom: 14px; line-height: 1.4; align-self: flex-start; box-shadow: 0 1px 2px rgba(37,99,235,0.18); }
.gate-badge--dark { background: var(--navy-800); color: var(--white); box-shadow: none; }

/* Segment kicker (eyebrow) */
.gate-segment { font-size: 10.5px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; line-height: 1.4; }
/* Wariant: segment jako podtytuł pod H3 (nie jako eyebrow) */
.gate-segment--sub { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--slate-500); margin-top: -4px; margin-bottom: 12px; }
/* Wariant: segment jako mocniejszy eyebrow (zamiast badge) — wyróżniony niebieskim */
.gate-segment--featured { color: var(--accent); font-weight: 700; }

/* Title */
.gate-card h3 { font-size: 18px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.3; padding-right: 32px; }
.gate-card--compact h3, .gate-card--helper h3 { padding-right: 0; }

/* Lede paragraph */
.gate-lede { font-size: 13px; color: var(--slate-500); line-height: 1.55; margin: 0 0 14px; }
.gate-lede strong { color: var(--navy-900); font-weight: 700; }

/* Checklist */
.gate-values { list-style: none; padding: 0; margin: 0 0 14px; flex-grow: 1; }
.gate-values li { font-size: 13px; color: var(--slate-700); line-height: 1.55; padding: 3px 0 3px 20px; position: relative; }
.gate-values li::before { content: '✓'; position: absolute; left: 0; top: 3px; color: var(--green); font-weight: 700; font-size: 13px; line-height: 1.55; }

/* Pricing line */
.gate-metric { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 14px; padding: 10px 0 0; border-top: 1px solid var(--border); letter-spacing: -0.005em; }
.gate-metric--neutral { color: var(--slate-500); font-weight: 500; }

/* CTA */
.gate-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); transition: gap var(--t); margin-top: auto; }
.gate-card:hover .gate-cta { gap: 10px; }
.gate-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Helper card actions */
.gate-helper-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.gate-helper-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; transition: gap var(--t); }
.gate-helper-link:hover { gap: 10px; }
.gate-helper-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* AI Kejsów banner */
.ai-banner { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; background: linear-gradient(135deg, hsl(245, 50%, 12%) 0%, hsl(225, 60%, 18%) 60%, hsl(265, 55%, 22%) 100%); border: 1px solid hsl(245, 40%, 28%); border-radius: var(--r-md); text-decoration: none; color: inherit; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; position: relative; overflow: hidden; }
.ai-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(180deg, hsl(221, 83%, 60%) 0%, hsl(280, 70%, 60%) 100%); }
.ai-banner::after { content: ''; position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; background: radial-gradient(circle, hsla(280, 70%, 55%, 0.18) 0%, transparent 60%); pointer-events: none; border-radius: 50%; }
.ai-banner:hover { border-color: hsl(245, 50%, 40%); box-shadow: 0 8px 32px hsla(245, 60%, 5%, 0.4); transform: translateY(-1px); }
.ai-banner-main { padding-left: 4px; position: relative; z-index: 1; }
.ai-banner-tag { font-size: 12px; font-weight: 600; color: hsl(221, 30%, 80%); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.ai-banner-tag-pill { display: inline-block; font-size: 10px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 8px; background: linear-gradient(135deg, hsl(280, 75%, 55%) 0%, hsl(221, 83%, 55%) 100%); border-radius: 999px; line-height: 1.4; box-shadow: 0 2px 8px hsla(280, 70%, 50%, 0.4); }
.ai-banner-title { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.25; }
.ai-banner-lede { font-size: 14px; color: hsl(221, 25%, 78%); line-height: 1.6; margin: 0 0 16px; }
.ai-banner-lede strong { color: var(--white); font-weight: 700; }
.ai-banner-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: hsl(221, 83%, 70%); transition: gap var(--t); }
.ai-banner:hover .ai-banner-cta { gap: 10px; color: hsl(221, 83%, 80%); }
.ai-banner-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.ai-banner-side { position: relative; z-index: 1; }
.ai-banner-list { list-style: none; padding: 0; margin: 0; }
.ai-banner-list li { font-size: 13px; color: hsl(221, 25%, 80%); line-height: 1.55; padding: 4px 0 4px 20px; position: relative; }
.ai-banner-list li::before { content: '✓'; position: absolute; left: 0; top: 4px; color: var(--green); font-weight: 700; font-size: 13px; line-height: 1.55; }

/* Gates header — większy tytuł sekcji niż domyślny section-title */
.gates-header--lg { margin-bottom: 24px; }
.gates-title { font-size: 26px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 10px; }

/* Rozdzielacz: "3 GŁÓWNE MODELE" / "OPCJE DODATKOWE" */
.gates-divider { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.gates-divider:not(:first-of-type) { margin-top: 28px; }
.gates-divider-text { font-size: 11px; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.gates-divider-line { flex: 1; height: 1px; background: var(--border); }

/* Numerek 01 / 02 / 03 w karcie */
.gate-num { position: absolute; top: 18px; right: 18px; font-size: 13px; font-weight: 700; color: var(--slate-300); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; line-height: 1; }
.gate-num--accent { color: var(--accent); }
.gate-card--enterprise .gate-num { color: var(--slate-400); }

/* ══ USP ══ */
.usp-section { border-bottom: none; padding: 40px 0; background: var(--slate-50); border-bottom: 1px solid var(--border); }
.usp-grid { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.usp-item { background: var(--white); padding: 16px 14px; border-top: 1px solid var(--border); }
.usp-item:first-child { border-top: none; }
.usp-label { font-size: 14px; font-weight: 700; color: var(--navy-800); margin-bottom: 4px; letter-spacing: -0.01em; line-height: 1.3; }
.usp-desc { font-size: 14px; color: var(--slate-500); line-height: 1.5; }

/* ══ FAQ ══ */
.faq { border-bottom: none; padding: 36px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.faq-header { margin-bottom: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 0 4px; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 0; font-size: 14px; font-weight: 600; color: var(--navy-800); text-align: left; cursor: pointer; transition: color var(--t); gap: 12px; background: none; border: none; font-family: var(--font); letter-spacing: -0.01em; line-height: 1.4; min-height: 48px; }
.faq-question:hover { color: var(--accent); }
.faq-chevron { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--slate-400); fill: none; stroke-width: 2; stroke-linecap: round; transition: transform 0.25s ease; margin-top: 2px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; opacity: 0; }
.faq-answer-inner { padding: 0 4px 18px; font-size: 14px; color: var(--slate-500); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 800px; opacity: 1; }

/* ══ SAFETY NET / QUIZ ══ */
.safety-net { padding: 36px 0; background: var(--navy-900); border-bottom: 1px solid var(--border-dark); position: relative; }
.safety-net::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(241,245,249,0.03) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.safety-net-content { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; text-align: center; }
.safety-net h2 { font-size: 22px; font-weight: 800; color: var(--text-on-dark); letter-spacing: -0.03em; margin-bottom: 6px; line-height: 1.25; }
.safety-net-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.quiz-container { background: var(--navy-800); border: 1px solid rgba(241,245,249,0.06); border-radius: var(--r-md); padding: 20px 16px; text-align: left; box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-progress { display: flex; gap: 5px; margin-bottom: 20px; }
.quiz-progress-bar { flex: 1; height: 4px; background: rgba(241,245,249,0.08); border-radius: 2px; }
.quiz-progress-bar.filled { background: var(--accent); }
.quiz-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.quiz-q { font-size: 17px; font-weight: 700; color: var(--text-on-dark); letter-spacing: -0.02em; margin-bottom: 18px; line-height: 1.3; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-option { display: flex; align-items: center; gap: 10px; padding: 14px 14px; background: rgba(241,245,249,0.03); border: 1px solid rgba(241,245,249,0.06); border-radius: var(--r); font-size: 14px; font-weight: 500; color: var(--text-on-dark); cursor: pointer; transition: var(--t); text-align: left; width: 100%; min-height: 48px; line-height: 1.35; }
.quiz-option:hover { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); }
.quiz-dot { width: 16px; height: 16px; border: 1.5px solid rgba(241,245,249,0.2); border-radius: 50%; flex-shrink: 0; }
.quiz-option:hover .quiz-dot { border-color: var(--accent); }

/* Quiz loader */
.quiz-loader { text-align: center; padding: 16px 0; }
.quiz-loader-spinner { width: 32px; height: 32px; border: 3px solid rgba(241,245,249,0.1); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.quiz-loader-text { font-size: 13px; color: var(--text-muted); }
.quiz-loader-text strong { color: var(--text-on-dark); font-weight: 600; }
.quiz-loader-steps { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; text-align: left; }
.quiz-loader-step { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); opacity: 0; animation: fadeStep 0.4s ease forwards; }
.quiz-loader-step svg { width: 13px; height: 13px; stroke: var(--green); fill: none; stroke-width: 2.5; flex-shrink: 0; }
.quiz-loader-step:nth-child(1) { animation-delay: 0.2s; }
.quiz-loader-step:nth-child(2) { animation-delay: 0.6s; }
.quiz-loader-step:nth-child(3) { animation-delay: 1.0s; }
@keyframes fadeStep { to { opacity: 1; } }

/* Quiz gate */
.quiz-gate { text-align: center; }
.quiz-gate-header { margin-bottom: 22px; }
.quiz-gate-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.quiz-gate h3 { font-size: 22px; font-weight: 700; color: var(--text-on-dark); margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.25; }
.quiz-gate-rec-desc { font-size: 14px; color: var(--text-muted); margin: 0 auto 14px; line-height: 1.55; max-width: 460px; }
.quiz-gate-rec-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); transition: color var(--t); padding: 4px 0; }
.quiz-gate-rec-link:hover { color: var(--accent-hover); text-decoration: underline; }
.quiz-gate-rec-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quiz-gate-divider { height: 1px; background: var(--border-dark); margin: 0 auto 22px; max-width: 320px; }
.quiz-gate-form-intro { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }
.quiz-gate > p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.5; }
.quiz-gate-fields { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.quiz-gate-fields input { width: 100%; padding: 12px 14px; border: 1px solid rgba(241,245,249,0.1); border-radius: var(--r); font-family: var(--font); font-size: 16px; color: var(--text-on-dark); background: rgba(241,245,249,0.04); outline: none; transition: border-color var(--t); min-height: 48px; }
.quiz-gate-fields input::placeholder { color: rgba(241,245,249,0.3); }
.quiz-gate-fields input:focus { border-color: var(--accent); }
.quiz-gate-fields input.error { border-color: var(--red); }
.quiz-gate-fields input.warn { border-color: var(--amber); }
.quiz-gate-error { display: none; font-size: 12px; color: #F87171; margin-top: 2px; text-align: left; }
.quiz-gate-error.visible { display: block; }
.quiz-gate-warn { display: none; font-size: 12px; color: var(--amber); margin-top: 2px; text-align: left; line-height: 1.4; }
.quiz-gate-warn.visible { display: block; }
.quiz-gate-btn { width: 100%; padding: 14px 20px; margin-top: 4px; background: var(--accent); color: white; font-size: 15px; font-weight: 600; border-radius: var(--r); border: none; cursor: pointer; transition: background var(--t); min-height: 48px; }
.quiz-gate-btn:hover { background: var(--accent-hover); }
.quiz-gate-fine { font-size: 12px; color: rgba(241,245,249,0.3); margin-top: 12px; line-height: 1.5; }

/* Quiz result */
.quiz-result { text-align: center; }
.quiz-result-check { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.quiz-result-check svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2.5; }
.quiz-result-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.quiz-result h3 { font-size: 22px; font-weight: 700; color: var(--text-on-dark); margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.25; }
.quiz-result p { font-size: 14px; color: var(--text-muted); margin: 0 auto 18px; line-height: 1.55; max-width: 460px; }
.quiz-result-btn { display: inline-flex; align-items: center; gap: 5px; padding: 12px 20px; background: var(--accent); color: white; font-size: 14px; font-weight: 600; border-radius: var(--r); transition: background var(--t); min-height: 44px; }
.quiz-result-btn:hover { background: var(--accent-hover); }
.quiz-result-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 4px; }
.quiz-result-secondary { font-size: 13px; font-weight: 500; color: var(--text-muted); transition: color var(--t); padding: 4px 0; }
.quiz-result-secondary:hover { color: var(--text-on-dark); text-decoration: underline; }
.quiz-or { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-dark); }
.quiz-or-line { flex: 1; height: 1px; background: var(--border-dark); }
.quiz-or-text { font-size: 12px; color: var(--text-muted); }
.quiz-calendly { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: color var(--t); min-height: 44px; }
.quiz-calendly:hover { color: var(--text-on-dark); }
.quiz-calendly svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ══ CONTACT (host card w calendly-modal) ══ */
.contact-inner { display: flex; align-items: center; gap: 20px; max-width: 520px; margin: 0 auto; }
.contact-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.contact-info { display: flex; flex-direction: column; gap: 2px; }
.contact-name { font-size: 16px; font-weight: 700; color: var(--navy-900); }
.contact-role { font-size: 13px; color: var(--slate-500); margin-bottom: 4px; }
.contact-details { display: flex; flex-direction: column; gap: 2px; }
.contact-details a { font-size: 13px; color: var(--slate-600); transition: color var(--t); }
.contact-details a:hover { color: var(--accent); }
.contact-details span { font-size: 13px; color: var(--slate-600); }

/* ══ FOOTER ══ */
.footer { background: var(--navy-900); padding: 32px 0 16px; position: relative; }
.footer::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,0.15) 25%, rgba(37,99,235,0.25) 50%, rgba(37,99,235,0.15) 75%, transparent 100%); pointer-events: none; }
.footer::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(241,245,249,0.025) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-top: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 10px; }
.footer-col a { display: flex; align-items: center; font-size: 13px; color: rgba(241,245,249,0.4); padding: 4px 0; transition: color var(--t); min-height: 32px; }
.footer-col a:hover { color: var(--text-on-dark); }
.footer-contact-item { display: flex; align-items: center; font-size: 13px; color: rgba(241,245,249,0.4); padding: 4px 0; min-height: 32px; }
.footer-contact-item a { font-size: inherit; padding: 0; min-height: 0; color: inherit; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--border-dark); padding-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-copy { font-size: 11px; color: rgba(241,245,249,0.25); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; color: rgba(241,245,249,0.25); transition: color var(--t); }
.footer-legal a:hover { color: rgba(241,245,249,0.5); }

/* ══ STICKY MOBILE CTA BAR ══ */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998; background: var(--white); border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform 0.3s ease; box-shadow: 0 -2px 12px rgba(0,0,0,0.08); }
.sticky-mobile-cta.visible { transform: translateY(0); }
.sticky-mobile-cta button { width: 100%; padding: 14px 20px; background: var(--accent); color: white; font-family: var(--font); font-size: 15px; font-weight: 600; border-radius: var(--r); border: none; cursor: pointer; transition: background var(--t); min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sticky-mobile-cta button:hover { background: var(--accent-hover); }
.sticky-mobile-cta button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .sticky-mobile-cta { display: none !important; } }
@media (max-width: 639px) { .sticky-mobile-cta { display: block; } body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }


/* ══ MACRO DATA BOARD ══ */
.data-board { border-bottom: none; padding: 36px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.data-board-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.data-board-col { background: var(--white); padding: 20px 16px; text-align: center; }
.data-board-col--highlight { background: var(--slate-50); }
.data-board-val { font-size: 28px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.data-board-label { font-size: 13px; color: var(--slate-500); line-height: 1.45; max-width: 280px; margin: 0 auto; }
.data-board-link { color: var(--accent); font-weight: 600; text-decoration: none; transition: opacity 0.2s ease; }
.data-board-link:hover { opacity: 0.75; }

/* ══ REVIEWS / ZŁOTA KLATKA ══ */
.reviews-section { border-bottom: none; padding: 48px 0; background: var(--slate-50); border-bottom: 1px solid var(--border); }
.reviews-badge { text-align: center; margin-bottom: 32px; }
.reviews-stars { font-size: 18px; color: #F59E0B; letter-spacing: 2px; margin-bottom: 8px; }
.reviews-badge-text { font-size: 13px; font-weight: 500; color: var(--slate-600); line-height: 1.5; max-width: 520px; margin: 0 auto; }
.reviews-badge-text strong { color: var(--navy-900); font-weight: 700; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* Card — refined, premium feel */
.review-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px 24px 20px; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; display: flex; flex-direction: column; overflow: hidden; }
.review-card:hover { border-color: var(--slate-200); box-shadow: var(--shadow-md); transform: translateY(-1px); }
/* Decorative opening quote — barely visible, sits behind the text */
.review-card::before { content: '\201C'; position: absolute; top: 2px; left: 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 72px; line-height: 1; color: var(--slate-100); font-weight: 700; pointer-events: none; user-select: none; }

/* Quote body — larger, darker, real hierarchy */
.review-body { position: relative; z-index: 1; font-size: 15px; color: var(--slate-700); line-height: 1.65; margin-bottom: 20px; padding-bottom: 18px; flex: 1; letter-spacing: -0.005em; }
.review-body::after { content: ''; display: block; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--slate-200); border-radius: 1px; }
.review-body strong { color: var(--navy-900); font-weight: 700; }

/* Inline "rozwiń / zwiń" — checkbox-hack, bez JS, bez ramek */
.review-toggle-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; left: 0; top: 0; }
.review-rest { display: none; }
.review-toggle { display: inline; font-size: inherit; line-height: inherit; color: var(--accent); font-weight: 600; cursor: pointer; user-select: none; transition: color var(--t); }
.review-toggle:hover { color: var(--navy-800); text-decoration: underline; text-underline-offset: 2px; }
.review-toggle::before { content: '· '; color: var(--slate-300); font-weight: 400; }
.review-toggle-less { display: none; }
/* Stan: rozwinięte */
.review-toggle-input:checked ~ .review-body .review-rest { display: inline; }
.review-toggle-input:checked ~ .review-body .review-toggle-more { display: none; }
.review-toggle-input:checked ~ .review-body .review-toggle-less { display: inline; }
/* Focus styling — keyboard accessibility */
.review-toggle-input:focus-visible ~ .review-body .review-toggle { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Author row — compact, logo aligned with name */
.review-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review-logo { height: 36px; max-width: 110px; flex-shrink: 0; display: flex; align-items: center; justify-content: flex-start; overflow: visible; }
.review-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; display: block; }
.review-logo--lg { height: 44px; max-width: 96px; }
/* Vertical lockup (icon stacked over wordmark) — kept tall variant but smaller */
.review-logo--tall { height: 52px; max-width: 56px; align-self: center; }
.review-logo--tall img { max-height: 52px; max-width: 56px; }
.review-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; border-left: 1px solid var(--slate-100); padding-left: 14px; }
.review-name { font-size: 13px; font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; }
.review-role { font-size: 11.5px; color: var(--slate-500); line-height: 1.4; }
.review-role strong { font-weight: 600; color: var(--slate-600); }
.review-org { font-size: 11px; color: var(--slate-400); line-height: 1.35; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

/* ══ DASHBOARD SNIPPET (inside Gate 1) ══ */
/* ── Dash snippet — Panel Managera mini widget (premium) ── */
.dash-snippet { margin: 12px 0 12px; padding: 11px 12px; background: linear-gradient(180deg, #FCFCFD 0%, #F7F9FC 100%); border: 1px solid var(--slate-200); border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(15,23,42,0.04), inset 0 1px 0 rgba(255,255,255,0.9); }

/* Header row — title (prominent) + status badge (subtle, not live) */
.dash-snippet-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; padding-bottom: 8px; border-bottom: 1px solid var(--slate-200); }
.dash-snippet-title { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; }
.dash-snippet-icon { width: 13px; height: 13px; stroke: var(--slate-500); fill: none; stroke-width: 2; flex-shrink: 0; }
.dash-snippet-live { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.07em; padding: 2px 8px 2px 8px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 999px; }
.dash-snippet-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--slate-400); flex-shrink: 0; }

/* Metrics list — clean rows, consistent right-alignment */
.dash-snippet-grid { display: flex; flex-direction: column; gap: 1px; }
.dash-snippet-item { padding: 6px 6px 6px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; border-radius: 4px; transition: background 0.2s ease; }
.dash-snippet-item-text { min-width: 0; }
.dash-snippet-label { font-size: 11.5px; color: var(--slate-600); line-height: 1.35; font-weight: 500; letter-spacing: -0.005em; }
.dash-snippet-val { font-size: 16px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; justify-self: end; }

/* Hero metric row — featured (Wskaźnik ukończenia) */
.dash-snippet-item--accent { background: linear-gradient(90deg, rgba(37,99,235,0.04) 0%, rgba(37,99,235,0.02) 100%); padding: 8px 8px 8px 8px; margin: 1px -1px; border: 1px solid rgba(37,99,235,0.08); }
.dash-snippet-item--accent .dash-snippet-val { color: var(--accent); font-size: 17px; }
.dash-snippet-item--accent .dash-snippet-label { color: var(--navy-800); font-weight: 600; }

/* Progress bar beneath the accent percentage */
.dash-snippet-progress { display: block; width: 100%; height: 3px; background: rgba(37,99,235,0.12); border-radius: 2px; margin-top: 5px; overflow: hidden; position: relative; }
.dash-snippet-progress::after { content: ''; display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--accent) 0%, #60A5FA 100%); border-radius: 2px; animation: progressFill 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
@keyframes progressFill { from { width: 0%; } to { width: 68%; } }
@media (prefers-reduced-motion: reduce) { .dash-snippet-progress::after { animation: none; } }

/* Trend chip — clear separation from the value */
.dash-snippet-trend { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: #059669; font-variant-numeric: tabular-nums; padding: 2px 6px; background: rgba(16,185,129,0.1); border-radius: 999px; letter-spacing: 0; }
.dash-snippet-trend svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ══ SECTION DIVIDERS ══ */
.section-divider { position: relative; border-bottom: none; }
.section-divider::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ══ SCROLL REVEAL ══ */
.sr { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.sr.sr--visible { opacity: 1; transform: translateY(0); }
/* Staggered children */
.sr-stagger > .sr-child { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.sr-stagger.sr--visible > .sr-child { opacity: 1; transform: translateY(0); }
.sr-stagger.sr--visible > .sr-child:nth-child(1) { transition-delay: 0ms; }
.sr-stagger.sr--visible > .sr-child:nth-child(2) { transition-delay: 100ms; }
.sr-stagger.sr--visible > .sr-child:nth-child(3) { transition-delay: 200ms; }
.sr-stagger.sr--visible > .sr-child:nth-child(4) { transition-delay: 300ms; }
.sr-stagger.sr--visible > .sr-child:nth-child(5) { transition-delay: 400ms; }
.sr-stagger.sr--visible > .sr-child:nth-child(6) { transition-delay: 500ms; }
.sr-stagger.sr--visible > .sr-child:nth-child(7) { transition-delay: 600ms; }
@media (prefers-reduced-motion: reduce) { .sr { opacity: 1; transform: none; transition: none; } .sr-stagger > .sr-child { opacity: 1; transform: none; transition: none; } }

/* ══════════════════════════════════════════
   DESKTOP OVERRIDES (min-width up)
   ══════════════════════════════════════════ */

@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .header-inner { padding: 0 28px; height: 56px; }
  .mobile-nav { top: 56px; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-audience { font-size: 14px; }
  .hero-ctas { flex-direction: row; }
  .btn-primary, .btn-secondary { width: auto; }
  .logo-client { font-size: 17px; height: 34px; }
  .logo-client img { max-height: 34px; }
  .logo-client--compact { height: 28px; }
  .logo-client--compact img { max-height: 28px; }
  .logo-client--wide { height: 36px; }
  .logo-client--wide img { max-height: 36px; }
  .calendly-embed-frame { height: 650px; }
  .roi-strip-content { flex-direction: row; align-items: flex-start; gap: 40px; justify-content: center; }
  .roi-vs::before, .roi-vs::after { display: none; }
  .roi-col { flex: 0 1 320px; }
  .roi-col { flex: 1; width: auto; max-width: 280px; }
  .roi-col-val { font-size: 32px; }
  .gates-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
  .gates-secondary { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gate-card { padding: 26px 22px; }
  .ai-banner { grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 28px 28px; align-items: center; }
  .ai-banner-title { font-size: 20px; }
  .usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); flex-direction: unset; }
  .usp-item { border-top: none; padding: 22px 18px; }
  .faq-question { font-size: 15px; }
  .faq-answer-inner { font-size: 15px; }
  .gate-card h3 { font-size: 19px; }
  .gate-card--compact h3, .gate-card--helper h3 { font-size: 16.5px; }
  .gates-title { font-size: 30px; }
  .use-cases { padding: 56px 0; }
  .use-cases-title { font-size: 26px; }
  .use-cases-header { margin-bottom: 24px; }
  .use-cases-list { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .use-cases-item:nth-child(2) { border-top: none; padding-top: 4px; }
  .use-cases-text { font-size: 15px; }
  .quiz-gate h3 { font-size: 19px; }
  .gates { border-bottom: none; padding: 60px 0; }
  .gates-header { margin-bottom: 28px; }
  .gate-card h3 { margin-bottom: 6px; }
  .gate-values li { font-size: 14px; padding: 4px 0 4px 20px; }
  .gate-segment { font-size: 12px; }
  .gate-segment--sub { font-size: 13.5px; }
  .gate-card { padding: 24px 20px; }
  .logo-client { font-size: 17px; }
  .review-card { padding: 22px 20px; }
  .data-board { padding: 48px 0; }
  .data-board-col { padding: 32px 22px; }
  .data-board-val { font-size: 36px; }
  .data-board-label { font-size: 14px; }
  .reviews-section { padding: 48px 0; }
  .reviews-badge { margin-bottom: 24px; }
  .section-title { font-size: 22px; }
  .usp-section { padding: 48px 0; }
  .dash-snippet { padding: 13px 13px 11px; }
  .dash-snippet-val { font-size: 17px; }
  .faq { border-bottom: none; padding: 60px 0; }
  .safety-net { padding: 60px 0; }
  .quiz-container { padding: 28px 24px; }
  .contact-inner { gap: 24px; }
  .contact-photo { width: 80px; height: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-overlay { align-items: center; padding: 20px; }
  .modal-box { max-width: 440px; border-radius: var(--r-md); max-height: 90vh; }
  .calendly-modal .modal-box { max-width: 640px; }
  .calendly-embed-frame { height: 500px; }
  .modal-header { padding: 32px 28px 0; }
  .modal-header h3 { font-size: 18px; }
  .modal-body { padding: 24px 28px 28px; }
  .modal-field input, .modal-field select, .modal-field textarea { font-size: 14px; padding: 10px 12px; }
  .modal-submit { font-size: 14px; padding: 11px 20px; min-height: 44px; }

  /* Data Board */
  .data-board-grid { grid-template-columns: repeat(3, 1fr); }
  .data-board-col { padding: 36px 24px; }
  .data-board-val { font-size: 38px; }
  /* Reviews */
  .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review-body { font-size: 14.5px; }
  .review-card { padding: 28px 22px 18px; }
  .reviews-badge-text { font-size: 15px; }
  /* Dashboard Snippet */
  /* Dash snippet stays as vertical row list at all sizes */
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
  .hero { padding: 120px 0 72px; }
  .hero h1 { font-size: clamp(34px, 3.5vw, 42px); }
  .hero-sub { font-size: 17px; max-width: 580px; }
  .hero-segment { font-size: 14px; }
  /* Hero two-column with mockup */
  .hero-layout { flex-direction: row; align-items: center; gap: 32px; justify-content: space-between; }
  .hero-content { flex: 1 1 auto; min-width: 0; max-width: 620px; }
  .hero-mockup { display: block; flex: 0 0 380px; position: relative; margin-left: auto; }
  /* Glow behind the dashboard - ambient light */
  .hero-mockup::before { content: ''; position: absolute; inset: -40px -30px -40px -60px; background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.22) 0%, rgba(37,99,235,0.08) 35%, transparent 65%); filter: blur(24px); pointer-events: none; z-index: 0; }
  /* Soft accent streak underneath */
  .hero-mockup::after { content: ''; position: absolute; left: -20px; right: 40px; bottom: -18px; height: 40px; background: linear-gradient(90deg, transparent, rgba(37,99,235,0.35), rgba(16,185,129,0.2), transparent); filter: blur(16px); pointer-events: none; z-index: 0; }
  .hero-mockup .mockup-window { position: relative; z-index: 1; }
  .mockup-window { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
  .mockup-window:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
  .logo-client { font-size: 18px; }
  .gates-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gates-secondary { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ai-banner { padding: 36px 36px; gap: 40px; }
  .ai-banner-title { font-size: 22px; }
  .gate-card { padding: 28px 24px; }
  .gate-card h3 { font-size: 20px; }
  .gate-card--compact h3, .gate-card--helper h3 { font-size: 17px; }
  .gates-title { font-size: clamp(28px, 2.8vw, 34px); }
  .use-cases-title { font-size: clamp(26px, 2.5vw, 30px); }
  .use-cases { padding: 64px 0; }
  .gate-segment { font-size: 12px; }
  .gate-segment--sub { font-size: 14px; }
  .gate-values li { font-size: 14px; }
  .gate-cta { font-size: 14px; }
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-item { padding: 24px 20px; }
  .usp-label { font-size: 15px; }
  .section-title { font-size: clamp(24px, 2.5vw, 30px); }
  .section-desc { font-size: 16px; }
  .faq-question { font-size: 15px; }
  .faq-answer-inner { font-size: 15px; }
  .gates { border-bottom: none; padding: 72px 0; }
  .faq { border-bottom: none; padding: 72px 0; }
  .usp-section { border-bottom: none; padding: 64px 0; }
  .safety-net { padding: 72px 0; }
  .quiz-container { padding: 32px 28px; }
  .quiz-q { font-size: 18px; }
  .quiz-gate h3 { font-size: 20px; }
  .quiz-gate > p { font-size: 14px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer { padding: 48px 0 24px; }
  .calendly-embed-frame { height: 560px; }
  .social-proof { border-bottom: none; padding: 56px 0 60px; }
  .roi-strip-inner { padding: 56px 0 40px; }
  .roi-col-val { font-size: 34px; }
  .roi-col-desc { font-size: 14px; }
  .roi-col-context { font-size: 14px; }

  /* Data Board */
  .data-board { border-bottom: none; padding: 64px 0; }
  .data-board-col { padding: 44px 32px; }
  .data-board-val { font-size: 44px; }
  .data-board-label { font-size: 15px; }
  /* Reviews */
  .reviews-section { border-bottom: none; padding: 64px 0; }
  .review-body { font-size: 15px; }
  .reviews-stars { font-size: 22px; }
  .reviews-badge-text { font-size: 16px; }
  /* Dashboard Snippet */
  .dash-snippet { padding: 14px 14px 12px; }
  .dash-snippet-val { font-size: 18px; }
}
/* a11y: dropdown error state reuses input .error style */
.modal-field select.error { border-color: var(--error, #dc2626); }
.modal-field select.error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }

/* === MOBILE POLISH (≤639px) === */
@media (max-width: 639px) {
  /* Cards get a resting shadow since hover isn't available */
  .gate-card, .review-card { box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
  .gate-card:active, .review-card:active { transform: translateY(-1px); box-shadow: var(--shadow-md); }

  /* AI banner: tighter padding + clearer separation between text and list */
  .ai-banner { padding: 22px 18px; gap: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
  .ai-banner-list { padding-top: 14px; border-top: 1px solid var(--border); }
  .ai-banner-title { font-size: 17px; }
  .ai-banner-lede { font-size: 13.5px; }

  /* Helper card: tighten so it doesn't dominate when stacked */
  .gate-card--helper { padding: 18px 18px; }

  /* Section padding rhythm — break the stick between adjacent panels */
  .reviews-section { padding: 36px 0; }
  .gates { padding: 36px 0; }
  .data-board { padding: 36px 0; }
  .usp-section { padding: 32px 0; }
  .faq { padding: 36px 0; }
  .safety-net { padding: 36px 0; }

  /* Reviews badge — punchier on small screens */
  .reviews-stars { font-size: 22px; }
  .reviews-badge-text { font-size: 13.5px; line-height: 1.5; padding: 0 8px; }

  /* Review cards: reduce internal padding so quote breathes */
  .review-card { padding: 22px 18px 16px; }
  .review-body { font-size: 14.5px; margin-bottom: 16px; padding-bottom: 14px; }
  .review-card::before { font-size: 56px; top: -2px; left: 10px; }

  /* ROI strip: bigger touch-friendly numbers, reduce inner padding */
  .roi-strip-inner { padding: 32px 0 28px; }
  .roi-strip-content { gap: 28px; }
  .roi-vs { margin: 0; }

  /* Modal bottom-sheet rounded corners more premium on mobile */
  .modal-box { border-radius: 16px 16px 0 0; }

  /* Footer: prevent sticky CTA from covering */
  .footer { padding-bottom: 80px; }

  /* Quiz container: a bit more breathing room */
  .quiz-container { padding: 24px 18px; }

  /* Calendly modal subtitle: prevent edge crowding */
  .calendly-subtitle { padding: 0 4px; }

  /* USP items: cleaner separation */
  .usp-item { padding: 18px 16px; }
  .usp-label { font-size: 14px; }
  .usp-desc { font-size: 13.5px; line-height: 1.5; }

  /* Section title sizes — tighten visual rhythm */
  .section-title { font-size: 22px; line-height: 1.25; }
  .section-desc { font-size: 14px; }

  /* Dashboard snippet inside featured gate card — labels were tiny */
  .dash-snippet-val { font-size: 15px; }
  .dash-snippet-label { font-size: 10.5px; }

  /* Safety net (quiz): tighten rhythm above container */
  .safety-net-desc { margin-bottom: 20px; }
  .safety-net h2 { font-size: 22px; margin-bottom: 8px; }

  .hero-ctas { margin-top: 4px; }

  /* USP cards — separate them visually instead of fused table */
  .usp-grid { border: none; border-radius: 0; background: transparent; display: flex; flex-direction: column; gap: 10px; }
  .usp-item { background: var(--white); padding: 16px 16px; border: 1px solid var(--border); border-top: 1px solid var(--border); border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(0,0,0,0.03); }

  /* Reviews cards — tighter gap */
  .reviews-grid { gap: 12px; }

  /* FAQ question size bump for touch */
  .faq-question { font-size: 15px; padding: 18px 0; }

  /* Modal form: slightly stronger label */
  .modal-field label { font-size: 11.5px; }

  /* Footer: brand tagline on mobile — reduce density */
  .footer-brand-desc { font-size: 13.5px; line-height: 1.55; }
}

/* === SMALLEST PHONES (≤380px) === */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .section-title { font-size: 20px; }
  .gates-title { font-size: 22px; }
  .ai-banner-title { font-size: 16px; }
  .gate-card h3 { font-size: 17px; padding-right: 28px; }
  .gate-num { top: 14px; right: 14px; font-size: 12px; }
  .use-cases-title { font-size: 19px; }
  .use-cases-text { font-size: 13.5px; }
  .review-card { padding: 20px 16px 14px; }
  .gate-card { padding: 20px 16px; }
  /* Program page — najmniejsze ekrany */
  .program-meta li { grid-template-columns: 84px 1fr; gap: 10px; }
  .program-meta-val { font-size: 13px; }
  .program-audience-title { font-size: 19px; }
  .program-pricing-title { font-size: 21px; }
  .cta-final-title { font-size: 24px; }
  .module-title { font-size: 16.5px; }
  .module-block { padding: 20px 18px; }
  .program-cert { padding: 20px 18px; }
  .program-cert-title { font-size: 16px; }
}
.contact-email { font: inherit; color: inherit; }

/* ══════════════════════════════════════════
   PROGRAM PAGE - podstrony oferty (np. Leadership & HR)
   ══════════════════════════════════════════ */

/* Breadcrumb w hero */
.program-breadcrumb { font-size: 12px; font-weight: 600; color: hsl(221, 30%, 70%); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; order: 0; }
.program-breadcrumb a { color: hsl(221, 50%, 75%); text-decoration: none; transition: color var(--t); }
.program-breadcrumb a:hover { color: var(--white); }
.program-breadcrumb-sep { margin: 0 8px; color: hsl(221, 50%, 35%); }
.hero-content .program-breadcrumb { order: 0; }

/* Mikro-meta pod hero-sub: dla kogo / forma / dostęp / dla zespołów */
.program-meta { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr; gap: 0; max-width: 580px; }
.program-meta li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid hsla(221, 50%, 35%, 0.4); align-items: baseline; }
.program-meta li:first-child { border-top: none; padding-top: 4px; }
.program-meta-label { font-size: 11px; font-weight: 600; color: hsl(221, 30%, 65%); text-transform: uppercase; letter-spacing: 0.06em; }
.program-meta-val { font-size: 14px; color: hsl(221, 25%, 88%); line-height: 1.45; }
.hero-content .program-meta { order: 5; }

/* Akapit "dostępna dla 1 osoby lub zespołu" — między hero-sub a meta */
.hero-availability { font-size: 13.5px; color: hsl(221, 25%, 75%); line-height: 1.55; margin: 0 0 22px; padding: 10px 14px; background: hsla(221, 50%, 35%, 0.15); border-left: 2px solid hsl(221, 83%, 60%); border-radius: 0 4px 4px 0; max-width: 580px; }
.hero-content .hero-availability { order: 4; margin-top: -8px; }

/* Intro pod hero — krótkie wprowadzenie */
.program-intro { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.program-intro-inner { max-width: 720px; }
.program-intro p { font-size: 16px; color: var(--slate-700); line-height: 1.65; margin: 0 0 14px; }
.program-intro p:last-child { margin-bottom: 0; }
.program-intro p strong { color: var(--navy-900); font-weight: 700; }

/* Warianty grida gates (4-kolumny i 2-kolumny zamiast 3) */
.gates-grid--4 { grid-template-columns: 1fr; }
.gates-grid--2 { grid-template-columns: 1fr; }

/* Dla kogo / Kiedy warto — 2 kolumny */
.program-audience { padding: 48px 0; background: var(--slate-50); border-bottom: 1px solid var(--border); }
.program-audience-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.program-audience-col { /* wrapper */ }
.program-audience-title { font-size: 22px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 16px; }

/* Why-safety - sekcja "Jedna prosta zasada" (Manager Safety Pack) - tinted zielony */
.why-safety { padding: 48px 0; background: linear-gradient(180deg, rgba(34,197,94,0.04) 0%, rgba(34,197,94,0.01) 100%); border-bottom: 1px solid var(--border); }
.why-safety-inner { max-width: 720px; padding: 32px 28px; background: rgba(34,197,94,0.05); border: 1px solid rgba(34,197,94,0.25); border-left: 3px solid hsl(142, 60%, 45%); border-radius: var(--r-md); }
.why-safety-title { font-size: 24px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 14px; }
.why-safety-lede { font-size: 16px; color: var(--slate-700); line-height: 1.6; margin: 0 0 18px; }
.why-safety-lede strong { color: var(--navy-900); font-weight: 700; }
.why-safety-sub { font-size: 14px; color: var(--slate-600); margin: 0 0 12px; font-weight: 600; }
.why-safety-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.why-safety-list li { font-size: 13.5px; color: var(--slate-700); padding: 6px 14px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); border-radius: 999px; font-weight: 600; }
@media (max-width: 380px) { .why-safety-inner { padding: 24px 18px; } .why-safety-title { font-size: 20px; } }

/* AI Urgency - "AI weszło do biura szybciej niż procedury" - mocniejszy callout (Manager Safety Pack) */
.ai-urgency { padding: 48px 0; background: linear-gradient(180deg, rgba(251,146,60,0.05) 0%, rgba(251,146,60,0.015) 100%); border-bottom: 1px solid var(--border); }
.ai-urgency-inner { max-width: 760px; padding: 36px 32px; background: linear-gradient(135deg, rgba(251,146,60,0.06) 0%, rgba(245,101,101,0.04) 100%); border: 1px solid rgba(251,146,60,0.3); border-left: 3px solid hsl(28, 80%, 55%); border-radius: var(--r-md); position: relative; }
.ai-urgency-label { color: hsl(28, 75%, 45%) !important; margin-bottom: 12px; }
.ai-urgency-title { font-size: 26px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 18px; }
.ai-urgency-lede { font-size: 16px; color: var(--slate-700); line-height: 1.65; margin: 0 0 18px; }
.ai-urgency-lede strong { color: var(--navy-900); font-weight: 700; }
.ai-urgency-rule { font-size: 15.5px; color: var(--slate-700); line-height: 1.6; margin: 0; padding: 16px 18px; background: rgba(251,146,60,0.06); border-radius: var(--r-sm); }
.ai-urgency-rule strong { color: var(--navy-900); font-weight: 700; }
@media (max-width: 380px) { .ai-urgency-inner { padding: 24px 20px; } .ai-urgency-title { font-size: 21px; } .ai-urgency-lede, .ai-urgency-rule { font-size: 14px; } }

/* Listy programu: check (zielony ✓) i arrow (niebieska →) */
.program-list { list-style: none; padding: 0; margin: 0; }
.program-list li { font-size: 14.5px; color: var(--slate-700); line-height: 1.5; padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--slate-200); }
.program-list li:first-child { border-top: none; padding-top: 4px; }
.program-list--check li::before { content: '✓'; position: absolute; left: 4px; top: 9px; color: var(--green); font-weight: 700; font-size: 14px; line-height: 1.3; }
.program-list--check li:first-child::before { top: 5px; }
.program-list--arrow li::before { content: '→'; position: absolute; left: 0; top: 7px; color: var(--accent); font-weight: 700; font-size: 16px; line-height: 1.3; }
.program-list--arrow li:first-child::before { top: 3px; }

/* Sekcja modułów */
.program-modules { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.modules-list { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }

/* Pojedynczy moduł */
.module-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px 22px; transition: border-color var(--t), box-shadow var(--t); }
.module-block:hover { border-color: var(--slate-300); box-shadow: var(--shadow-sm); }
.module-header { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.module-num { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.module-title { font-size: 18px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 10px; }
.module-cel { font-size: 13.5px; color: var(--slate-600); line-height: 1.55; margin: 0; }

/* Lista kursów w module */
.module-courses { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.module-courses li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--slate-100); }
.module-courses li:first-child { border-top: none; padding-top: 4px; }
.module-course-num { font-size: 11px; font-weight: 700; color: var(--slate-400); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.module-course-name { font-size: 14px; color: var(--slate-700); line-height: 1.5; }

/* Wariant single (Manager Safety Pack): 1 article z większymi kursami */
.module-block--single { padding: 32px 28px; background: linear-gradient(180deg, var(--white) 0%, rgba(34,197,94,0.02) 100%); }
.module-courses--lg li { padding: 14px 0; grid-template-columns: 36px 1fr; gap: 14px; }
.module-courses--lg .module-course-num { font-size: 13px; color: hsl(142, 60%, 45%); font-weight: 800; }
.module-courses--lg .module-course-name { font-size: 15.5px; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
@media (max-width: 380px) { .module-block--single { padding: 24px 20px; } .module-courses--lg .module-course-name { font-size: 14px; } }

/* Efekt + Certyfikat */
.program-effect { padding: 48px 0; background: var(--slate-50); border-bottom: 1px solid var(--border); }
.program-effect-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.program-effect-col { /* wrapper */ }
.program-effect-lead { font-size: 14.5px; color: var(--slate-600); line-height: 1.55; margin: 0 0 14px; }

/* Karta certyfikatu */
.program-cert { background: linear-gradient(180deg, rgba(37,99,235,0.05) 0%, rgba(37,99,235,0.015) 100%); border: 1px solid rgba(37,99,235,0.35); border-radius: var(--r-md); padding: 24px 22px; position: relative; }
.program-cert-icon { width: 44px; height: 44px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--border); border-radius: 50%; }
.program-cert-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.program-cert-label { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.program-cert-title { font-size: 17px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.3; margin: 0 0 10px; }
.program-cert-desc { font-size: 13.5px; color: var(--slate-600); line-height: 1.6; margin: 0; }
.program-cert-desc strong { color: var(--navy-900); font-weight: 700; }

/* Wycena */
.program-pricing { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.program-pricing-inner { max-width: 640px; }
.program-pricing-title { font-size: 24px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 14px; }
.program-pricing-desc { font-size: 15px; color: var(--slate-600); line-height: 1.6; margin: 0 0 20px; }
.program-pricing-desc strong { color: var(--navy-900); font-weight: 700; }

/* CTA końcowe — ciemna sekcja zamykająca */
.cta-final { padding: 56px 0; background: linear-gradient(135deg, var(--navy-900) 0%, hsl(221, 50%, 18%) 100%); position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; top: -30%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 60%); pointer-events: none; border-radius: 50%; }
.cta-final-inner { max-width: 640px; position: relative; z-index: 1; }
.cta-final-title { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; }
.cta-final-desc { font-size: 15px; color: hsl(221, 25%, 78%); line-height: 1.6; margin: 0 0 24px; }

/* Większy wariant btn-primary */
.btn-primary--lg { font-size: 15.5px; padding: 14px 28px; }

/* ══════════════════════════════════════════
   PROGRAM HERO VISUAL — grafika po prawej w hero
   ══════════════════════════════════════════ */
.program-hero-visual { display: none; position: relative; }

/* Ambient glow za grafiką */
.program-hero-visual::before { content: ''; position: absolute; inset: -20px; background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.18) 0%, rgba(37,99,235,0.06) 35%, transparent 65%); filter: blur(20px); pointer-events: none; z-index: 0; }

/* Stos 3 kart w paralaksie */
.phv-stack { position: relative; width: 100%; height: 360px; z-index: 1; }
.phv-card { position: absolute; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.04); transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); }

/* Warstwa 1 — sieć liderów (tło) */
.phv-card--network { top: 0; right: 8%; width: 62%; height: 200px; background: linear-gradient(135deg, hsl(245, 50%, 18%) 0%, hsl(225, 60%, 22%) 100%); padding: 18px; color: hsl(221, 50%, 78%); transform: rotate(-3deg); border: 1px solid hsl(245, 40%, 32%); }
.phv-card--network svg { width: 100%; height: 100%; }
.phv-net-node--leader { animation: phvPulseLeader 3s ease-in-out infinite; transform-origin: 110px 80px; }
@keyframes phvPulseLeader { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Wariant chart (analityka BI): rosnący trend, pulsujący ostatni słupek */
.phv-chart-bars rect:last-child { animation: phvBarPulse 2.5s ease-in-out infinite; transform-origin: center bottom; }
@keyframes phvBarPulse { 0%, 100% { opacity: 0.95; } 50% { opacity: 1; filter: drop-shadow(0 0 4px hsl(221, 83%, 65%)); } }
.phv-chart-trend { stroke-dasharray: 220; stroke-dashoffset: 220; animation: phvTrendDraw 2s ease-out 0.3s forwards; }
@keyframes phvTrendDraw { to { stroke-dashoffset: 0; } }

/* Wariant funnel (sprzedaż B2B): pulsujące dno funnela = klient */
.phv-funnel-bottom { animation: phvFunnelPulse 2.5s ease-in-out infinite; transform-origin: center; }
@keyframes phvFunnelPulse { 0%, 100% { opacity: 0.95; } 50% { opacity: 1; filter: drop-shadow(0 0 6px hsl(221, 83%, 60%)); } }

/* Wariant flow (cyfrowa transformacja AI): pulsujący węzeł AI */
.phv-flow-ai { animation: phvAiPulse 2.2s ease-in-out infinite; transform-origin: 112px 95px; }
@keyframes phvAiPulse { 0%, 100% { opacity: 0.95; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); filter: drop-shadow(0 0 8px hsl(280, 70%, 60%)); } }

/* Wariant sheet (Excel/M365): pulsująca zaznaczona komórka */
.phv-sheet-cell { animation: phvSheetCellBlink 2s ease-in-out infinite; }
@keyframes phvSheetCellBlink { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.45; } }

/* Wariant shield (Manager Safety Pack): pulsująca tarcza ochronna */
.phv-shield-main { animation: phvShieldPulse 2.8s ease-in-out infinite; transform-origin: 110px 75px; }
@keyframes phvShieldPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); filter: drop-shadow(0 0 8px hsl(142, 70%, 50%)); } }

/* Warstwa 2 — moduły programu (środek) */
.phv-card--modules { top: 130px; right: 22%; width: 54%; background: linear-gradient(135deg, hsl(225, 45%, 24%) 0%, hsl(245, 50%, 28%) 100%); padding: 18px 20px; color: hsl(221, 30%, 90%); transform: rotate(2deg); border: 1px solid hsl(245, 40%, 38%); display: flex; flex-direction: column; gap: 10px; }
.phv-mod-row { display: grid; grid-template-columns: 28px 1fr 18px; gap: 12px; align-items: center; }
.phv-mod-num { font-size: 11px; font-weight: 700; color: hsl(221, 50%, 75%); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.phv-mod-bar { height: 6px; background: hsla(221, 30%, 50%, 0.25); border-radius: 999px; overflow: hidden; }
.phv-mod-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, hsl(221, 83%, 60%) 0%, hsl(280, 70%, 60%) 100%); transition: width 1s ease; }
.phv-mod-bar-fill--full { width: 100%; }
.phv-mod-bar-fill--partial { width: 65%; animation: phvProgressGrow 2.5s ease-in-out infinite alternate; }
@keyframes phvProgressGrow { from { width: 55%; } to { width: 78%; } }
.phv-mod-check { font-size: 14px; color: hsl(142, 70%, 60%); font-weight: 700; text-align: center; }
.phv-mod-check--progress { color: hsl(221, 50%, 70%); animation: phvBlink 1.6s ease-in-out infinite; }
@keyframes phvBlink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Warstwa 3 — certyfikat (przód, najmocniejszy element) */
.phv-card--cert { bottom: 0; left: 4%; width: 68%; background: linear-gradient(135deg, var(--white) 0%, hsl(221, 50%, 97%) 100%); padding: 22px 22px 18px; color: var(--navy-900); display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 6px 16px; transform: rotate(-1.5deg); border: 1px solid hsl(221, 30%, 88%); box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08); z-index: 2; }
.phv-cert-ribbon { position: absolute; top: 0; left: 22px; width: 4px; height: 28px; background: linear-gradient(180deg, hsl(221, 83%, 55%) 0%, hsl(280, 70%, 55%) 100%); border-radius: 0 0 4px 4px; }
.phv-cert-medal { grid-row: 1 / 3; width: 56px; height: 56px; color: hsl(221, 83%, 55%); }
.phv-cert-medal svg { width: 100%; height: 100%; }
.phv-cert-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.phv-cert-eyebrow { font-size: 9.5px; font-weight: 700; color: hsl(221, 83%, 55%); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.phv-cert-title { font-size: 13.5px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 4px; }
.phv-cert-meta { font-size: 10.5px; color: var(--slate-500); display: flex; align-items: center; gap: 5px; }
.phv-cert-meta::before { content: '✓'; color: hsl(142, 60%, 45%); font-weight: 700; font-size: 11px; }
.phv-cert-stamp { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; color: hsl(221, 50%, 60%); opacity: 0.65; transform: rotate(8deg); }
.phv-cert-stamp svg { width: 100%; height: 100%; }

/* Floating decoration dots */
.phv-dot { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.phv-dot--1 { top: -10px; right: 12%; width: 8px; height: 8px; background: hsl(221, 83%, 60%); box-shadow: 0 0 16px hsl(221, 83%, 55%); animation: phvFloat 4s ease-in-out infinite; }
.phv-dot--2 { top: 32%; left: -6px; width: 5px; height: 5px; background: hsl(280, 70%, 60%); box-shadow: 0 0 12px hsl(280, 70%, 55%); animation: phvFloat 5s ease-in-out 1s infinite; }
.phv-dot--3 { bottom: 8%; right: -4px; width: 6px; height: 6px; background: hsl(142, 70%, 55%); box-shadow: 0 0 14px hsl(142, 70%, 50%); animation: phvFloat 4.5s ease-in-out 0.5s infinite; }
@keyframes phvFloat { 0%, 100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(-8px); opacity: 1; } }

/* Hover na całej grafice — lekka interakcja: rozjeżdża karty */
.program-hero-visual:hover .phv-card--network { transform: rotate(-5deg) translate(-6px, -4px); }
.program-hero-visual:hover .phv-card--modules { transform: rotate(3deg) translate(4px, -2px); }
.program-hero-visual:hover .phv-card--cert { transform: rotate(-3deg) translate(-2px, 4px); }

/* Reduced motion: brak animacji */
@media (prefers-reduced-motion: reduce) {
  .phv-net-node--leader, .phv-mod-bar-fill--partial, .phv-mod-check--progress, .phv-dot, .phv-chart-bars rect:last-child, .phv-chart-trend, .phv-funnel-bottom, .phv-flow-ai, .phv-sheet-cell, .phv-shield-main { animation: none; }
  .phv-chart-trend { stroke-dashoffset: 0; }
}

/* Tablet 640+ */
@media (min-width: 640px) {
  .program-intro { padding: 64px 0; }
  .program-intro p { font-size: 17px; }
  .program-audience { padding: 64px 0; }
  .program-audience-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .program-audience-title { font-size: 26px; }
  .program-modules { padding: 64px 0; }
  .modules-list { gap: 20px; margin-top: 32px; }
  .module-block { padding: 28px 26px; }
  .module-title { font-size: 20px; }
  .module-cel { font-size: 14px; }
  .module-course-name { font-size: 14.5px; }
  .program-effect { padding: 64px 0; }
  .program-effect-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .program-cert { padding: 28px 26px; }
  .program-cert-title { font-size: 18px; }
  .program-pricing { padding: 72px 0; }
  .program-pricing-title { font-size: 28px; }
  .cta-final { padding: 80px 0; }
  .cta-final-title { font-size: 32px; }
  .gates-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gates-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .program-meta { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .program-meta li:nth-child(2) { border-top: none; padding-top: 4px; }
}

/* Desktop 1024+ */
@media (min-width: 1024px) {
  .program-audience-title { font-size: 28px; }
  .program-pricing-title { font-size: 32px; }
  .cta-final-title { font-size: 36px; }
  .gates-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .program-meta { grid-template-columns: 1fr 1fr; }
  /* Hero w 2 kolumny — grafika po prawej */
  .program-hero-visual { display: block; flex: 0 0 420px; position: relative; margin-left: auto; align-self: stretch; min-height: 420px; }
  .phv-stack { height: 380px; }
}

/* ══════════════════════════════════════════
   LP OFERTA-ŚCIEŻKI - katalog 6 ścieżek
   ══════════════════════════════════════════ */

/* Hero LP - bez grafiki, jeden centralny kontener */
.hero-content--lp { max-width: 760px; }
.hero-content--lp .hero-sub { max-width: 680px; }
.hero-content--lp .hero-sub strong { color: var(--white); }

/* Grid 6 kart ścieżek - desktop 3, tablet 2, mobile 1 */
.sciezki-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .sciezki-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1024px) { .sciezki-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }

/* Kafel ścieżki - klikalny <a> */
.sciezka-card { display: flex; flex-direction: column; text-decoration: none; cursor: pointer; transition: transform var(--t), border-color var(--t), box-shadow var(--t); position: relative; }
.sciezka-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(15,23,42,0.08); }
.sciezka-card:hover .sciezka-cta { color: var(--accent-hover); gap: 10px; }
.sciezka-card:hover .sciezka-cta svg { transform: translateX(2px); }

/* Badge na karcie - "Najczęściej wybierane" / "Aktualny temat" / "Pakiet podstawowy" */
.sciezka-badge { position: absolute; top: -1px; right: 16px; transform: translateY(-50%); font-size: 10.5px; font-weight: 700; color: var(--white); padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(15,23,42,0.12); white-space: nowrap; z-index: 1; }
.sciezka-badge--popular { background: hsl(221, 83%, 55%); }
.sciezka-badge--hot { background: linear-gradient(135deg, hsl(280, 70%, 55%) 0%, hsl(221, 83%, 55%) 100%); }
.sciezka-badge--safety { background: hsl(142, 60%, 40%); }

/* Tagi pod opisem ścieżki */
.sciezka-tags { list-style: none; padding: 0; margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.sciezka-tags li { font-size: 11.5px; color: var(--slate-600); padding: 3px 10px; background: var(--slate-50); border: 1px solid var(--border); border-radius: 999px; font-weight: 500; }

/* CTA na dole karty */
.sciezka-cta { font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin-top: auto; transition: color var(--t), gap var(--t); }
.sciezka-cta svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }

/* Wariant Safety Pack - zielony akcent na karcie */
.sciezka-card--safety .sciezka-cta { color: hsl(142, 60%, 40%); }
.sciezka-card--safety:hover { border-color: hsl(142, 60%, 50%); }
.sciezka-card--safety:hover .sciezka-cta { color: hsl(142, 60%, 35%); }
.sciezka-card--safety .gate-num { color: hsl(142, 60%, 45%); }

/* Sekcja "Jak wybrać ścieżkę" - mini-przewodnik z parami pytanie/odpowiedź */
.how-choose { padding: 64px 0; background: var(--white); }
.how-choose-list { list-style: none; padding: 0; margin: 32px 0 0; max-width: 880px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.how-choose-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--border); transition: background var(--t); }
.how-choose-item:hover { background: var(--slate-50); }
.how-choose-q { font-size: 15.5px; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.how-choose-a { font-size: 13.5px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color var(--t), gap var(--t); white-space: nowrap; }
.how-choose-a svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }
.how-choose-a:hover { color: var(--accent-hover); gap: 10px; }
.how-choose-a:hover svg { transform: translateX(2px); }
@media (max-width: 639px) {
  .how-choose-item { grid-template-columns: 1fr; gap: 8px; }
  .how-choose-q { font-size: 14.5px; }
  .how-choose-a { font-size: 13px; }
}

@media (max-width: 380px) {
  .sciezka-card { padding: 18px 16px; }
  .sciezka-tags li { font-size: 11px; padding: 3px 8px; }
  .sciezka-badge { font-size: 9.5px; padding: 3px 8px; right: 12px; }
}

/* ── Hero LP visual - kolaż 3 wybranych ścieżek (desktop ≥1024) ── */
.phv-card--lp1, .phv-card--lp2, .phv-card--lp3 {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.18), 0 0 0 1px rgba(15,23,42,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 84%;
}
.phv-card--lp1 { top: 14%; left: 0%; transform: rotate(-3deg); z-index: 3; }
.phv-card--lp2 { top: 36%; left: 12%; transform: rotate(2deg); z-index: 2; }
.phv-card--lp3 { top: 58%; left: 4%; transform: rotate(-1.5deg); z-index: 1; }

/* Badge na karcie kolażu */
.phv-lp-badge { position: absolute; top: -10px; right: 14px; font-size: 10px; font-weight: 700; color: var(--white); padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(15,23,42,0.18); white-space: nowrap; line-height: 1; }
.phv-lp-badge--popular { background: hsl(221, 83%, 55%); }
.phv-lp-badge--hot { background: linear-gradient(135deg, hsl(280, 70%, 55%) 0%, hsl(221, 83%, 55%) 100%); }
.phv-lp-badge--safety { background: hsl(142, 60%, 40%); }

.phv-lp-num { position: absolute; top: 14px; right: 16px; font-size: 11px; font-weight: 700; color: hsl(221, 30%, 78%); letter-spacing: 0.06em; }
.phv-card--lp3 .phv-lp-num { color: hsl(142, 50%, 65%); }
.phv-lp-segment { font-size: 9.5px; font-weight: 700; color: hsl(221, 83%, 55%); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 12px; }
.phv-card--lp3 .phv-lp-segment { color: hsl(142, 60%, 45%); }
.phv-lp-title { font-size: 14px; font-weight: 800; color: var(--navy-900); line-height: 1.25; letter-spacing: -0.015em; }
.phv-lp-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.phv-lp-tags span { font-size: 9.5px; color: var(--slate-600); padding: 2px 7px; background: var(--slate-50); border: 1px solid var(--border); border-radius: 999px; font-weight: 500; }
.phv-lp-cta { position: absolute; bottom: 12px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; }
.phv-lp-cta svg { width: 11px; height: 11px; }

/* Counter "6 ścieżek" - element wyróżniający */
.phv-lp-counter { position: absolute; bottom: 6%; right: 0; background: linear-gradient(135deg, hsl(221, 83%, 55%) 0%, hsl(280, 70%, 55%) 100%); color: var(--white); padding: 14px 16px 12px; border-radius: var(--r-md); box-shadow: 0 12px 28px rgba(37,99,235,0.35), 0 0 0 1px rgba(15,23,42,0.04); display: flex; flex-direction: column; align-items: center; gap: 2px; z-index: 4; transform: rotate(4deg); }
.phv-lp-counter-num { font-size: 32px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.phv-lp-counter-lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; text-align: center; opacity: 0.9; }

/* ── Karta ścieżki - "Dla:" zamiast meta liczb ── */
.sciezka-for { font-size: 12.5px; color: var(--slate-600); line-height: 1.5; padding: 10px 0; border-top: 1px solid var(--border); margin: 0 0 12px; }
.sciezka-for strong { color: var(--navy-900); font-weight: 700; }

/* ── Badge SVG na karcie grida ── */
.sciezka-badge { display: inline-flex; align-items: center; gap: 5px; }
.sciezka-badge svg { width: 11px; height: 11px; fill: currentColor; flex-shrink: 0; }

/* ── Mini-przewodnik: wyróżniony 7-my punkt "Coś innego" ── */
.how-choose-item--custom { background: linear-gradient(135deg, rgba(37,99,235,0.04) 0%, rgba(37,99,235,0.01) 100%); border-left: 3px solid var(--accent); padding-left: 16px !important; padding-right: 16px !important; margin-top: 4px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.how-choose-item--custom:hover { background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0.03) 100%); }
.how-choose-item--custom .how-choose-q { font-size: 14.5px; font-weight: 500; color: var(--slate-700); line-height: 1.5; }
.how-choose-item--custom .how-choose-q strong { color: var(--navy-900); font-weight: 700; }

.how-choose-a--cta { background: var(--accent); color: var(--white); padding: 8px 14px; border-radius: var(--r-sm); border: none; cursor: pointer; font-family: inherit; }
.how-choose-a--cta:hover { background: var(--accent-hover); color: var(--white); }
.how-choose-a--cta svg { color: var(--white); }

/* ── MODEL - link CTA wewnątrz karty "Dedykowana konfiguracja" ── */
.gate-cta-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--accent); transition: color var(--t), gap var(--t); text-decoration: none; }
.gate-cta-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }
.gate-cta-link:hover { color: var(--accent-hover); gap: 10px; }
.gate-cta-link:hover svg { transform: translateX(2px); }
.gate-cta-link + .gate-cta-link { margin-top: 8px; display: flex; }
.gate-cta-link--muted { color: var(--slate-500); font-weight: 600; font-size: 13px; }
.gate-cta-link--muted:hover { color: var(--navy-900); }

/* ── Mobile responsive dla LP visual ── */
@media (max-width: 1023px) {
  .phv-card--lp1, .phv-card--lp2, .phv-card--lp3, .phv-lp-counter { display: none; }
}
@media (max-width: 380px) {
  .how-choose-item--custom { padding: 16px !important; grid-template-columns: 1fr; gap: 12px; }
  .how-choose-item--custom .how-choose-q { font-size: 13.5px; }
}

/* ══════════════════════════════════════════
   DOC PAGE - Regulamin / Polityka Prywatności
   ══════════════════════════════════════════ */
.doc-main { padding: 96px 0 64px; background: var(--white); min-height: 60vh; }
.doc-container { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.doc-breadcrumb { font-size: 12px; font-weight: 600; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.doc-breadcrumb a { color: var(--slate-500); transition: color var(--t); }
.doc-breadcrumb a:hover { color: var(--accent); }
.doc-breadcrumb .sep { margin: 0 6px; color: var(--slate-300); }
.doc-h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; color: var(--navy-900); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 14px; }
.doc-intro { font-size: 16px; line-height: 1.65; color: var(--slate-600); margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.doc-content { color: var(--slate-700); font-size: 15px; line-height: 1.75; }
.doc-content section { margin-top: 36px; scroll-margin-top: 80px; }
.doc-content section:first-of-type { margin-top: 0; }
.doc-content h2 { font-size: 19px; font-weight: 700; color: var(--navy-900); letter-spacing: -0.015em; margin-bottom: 16px; line-height: 1.35; display: flex; align-items: baseline; gap: 10px; }
.doc-content h2 .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; min-width: 28px; }
.doc-content ol, .doc-content ul { padding-left: 22px; margin-bottom: 12px; }
.doc-content ol { list-style: decimal; }
.doc-content ul { list-style: disc; margin-top: 8px; margin-bottom: 8px; }
.doc-content li { margin-bottom: 8px; padding-left: 4px; }
.doc-content li::marker { color: var(--slate-400); font-weight: 500; }
.doc-content ul li::marker { color: var(--slate-300); }
.doc-content strong { color: var(--navy-900); font-weight: 700; }
.doc-content a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: color var(--t); }
.doc-content a.inline:hover { color: var(--accent-hover); }
.doc-content p { margin-bottom: 12px; }

/* TOC card */
.doc-toc { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 36px; }
.doc-toc-title { font-size: 11px; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc-counter; }
.doc-toc li { margin-bottom: 6px; padding-left: 28px; position: relative; counter-increment: toc-counter; font-size: 13.5px; }
.doc-toc li::before { content: counter(toc-counter, upper-roman) "."; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 11.5px; }
.doc-toc a { color: var(--slate-600); transition: color var(--t); }
.doc-toc a:hover { color: var(--accent); }

/* Effective date */
.doc-effective { margin-top: 40px; padding: 18px 20px; background: var(--slate-50); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; }
.doc-effective strong { color: var(--navy-900); font-size: 14px; }

@media (max-width: 639px) {
  .doc-main { padding: 80px 0 48px; }
  .doc-content { font-size: 14.5px; }
  .doc-content h2 { font-size: 17px; }
  .doc-toc { padding: 16px 18px; }
}

/* ── DOC PAGE - dodatkowe elementy (Polityka Prywatności) ── */
.doc-content h3.doc-subhead { font-size: 15px; font-weight: 700; color: var(--navy-800); margin: 24px 0 10px; letter-spacing: -0.01em; }
.doc-content dl.doc-deflist { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; margin: 20px 0; padding: 20px; background: var(--slate-50); border-radius: var(--r-md); border: 1px solid var(--border); font-size: 14px; }
.doc-content dl.doc-deflist dt { font-weight: 700; color: var(--navy-900); padding: 4px 0; }
.doc-content dl.doc-deflist dd { color: var(--slate-600); padding: 4px 0; margin: 0; }
.doc-content dl.doc-deflist dd ul { margin: 6px 0 0; padding-left: 20px; }
.doc-content dl.doc-deflist dd ul li { margin-bottom: 4px; }
.doc-callout { background: rgba(37,99,235,0.04); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; margin: 18px 0; font-size: 14px; color: var(--slate-700); line-height: 1.65; }
.doc-cookie-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); margin: 12px 0; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.doc-cookie-card .doc-cookie-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: white; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; font-variant-numeric: tabular-nums; }
.doc-cookie-card h4 { font-size: 14.5px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; line-height: 1.35; letter-spacing: -0.01em; }
.doc-cookie-card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--slate-600); }
.doc-cookie-card p + p { margin-top: 6px; }

@media (max-width: 639px) {
  .doc-content dl.doc-deflist { grid-template-columns: 1fr; gap: 4px 0; padding: 16px; }
  .doc-content dl.doc-deflist dt { padding-bottom: 0; }
  .doc-content dl.doc-deflist dd { padding-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
  .doc-content dl.doc-deflist dd:last-child { border-bottom: none; }
  .doc-cookie-card { padding: 14px 16px; gap: 12px; }
  .doc-cookie-card h4 { font-size: 14px; }
  .doc-cookie-card p { font-size: 13.5px; }
}

/* ── SKIP LINK (a11y - WCAG 2.4.1) ── */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; padding: 10px 16px; background: var(--accent, #2563EB); color: #fff; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.skip-link:focus { left: 8px; outline: 3px solid #fff; outline-offset: 2px; }
