/* =========================
   BASE (GLOBAL ONLY)
========================= */
/* =========================
   LAYOUT FIX (STICKY FOOTER)
========================= */
/* =========================
   DESIGN SYSTEM (GLOBAL)
========================= */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;

  --bg: #f8fafc;
  --card: #ffffff;

  --text: #111827;
  --muted: #6b7280;

  --border: #e5e7eb;

  --radius-soft: 10px;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  background: var(--bg);
  color: #111827;
}

/* MAIN WRAPPER */
main {
  flex: 1;
  padding: 40px 20px;
}

/* RESET + BODY */


html {
  font-size: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  margin: 0;
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 1.9rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  
}

/* HEADER */
header {
  background: #0a0f2c;
  color: #ffffff;

  padding: 20px 20px;
  text-align: center;

  border-bottom: 1px solid rgba(255,255,255,0.05);
}

header h1 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #ffffff;
}

header p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff
}

/* =========================
   SECTION SYSTEM
========================= */

.section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  

  display: flex;
  flex-direction: column;
  gap: 24px; /* 🔥 spacing system */
}

/* CONTENT CONTAINER (GLOBAL) */
.container {
  width: 100%;
  max-width: 900px;   /* 🔥 kontrola szerokości */
  margin: 0 auto;
  border-color: #374151;
  border: 1px;
}

/* =========================
   FOOTER – PREMIUM GLOBAL
========================= */

footer {
  text-align: center;
  padding: 28px 20px;

  background: #f1f1f1; /* 🔥 delikatny kontrast */   
  border-top: 1px solid #e5e7eb;

  color: #374151;               /* 🔥 ciemniejszy, czytelny */
  font-size: 0.9rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.03);

  
}

/* linki */
footer a {
  color: #2563eb;        /* 🔥 główny niebieski SaaS */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

footer a:hover {
  color: #1d4ed8;        /* 🔥 ciemniejszy hover */
  text-decoration: underline;
}

/* separator (|) */
footer p {
  margin-bottom: 8px;
}

footer nav p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* BREADCRUMB */
.breadcrumb {
  --bs-breadcrumb-divider: '›';
}

/* ACCESSIBILITY */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}