:root{
  --bg:#f6f8fc;
  --surface:#ffffff;
  --surface2:#f1f4fb;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --primary:#0b2a5b;   /* granat */
  --primary2:#123b80;  /* granat jaśniejszy */
  --accent:#2563eb;    /* niebieski */
  --shadow: 0 10px 25px rgba(2, 6, 23, .08);
  --r:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}

.container{width:min(1120px, 92vw); margin:0 auto}
a{color:inherit}
a:hover{color:var(--primary2)}
.muted{color:var(--muted)}
.small{font-size:.92rem}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand__mark{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: var(--primary);
  color:#fff;
  font-weight:800;
  letter-spacing:.5px;
}
.brand__name{
  font-weight:800;
  letter-spacing:.6px;
}
.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav a:hover{
  color:var(--text);
  border-color:var(--line);
  background: var(--surface2);
}

/* Hero */
.hero{
  padding:60px 0 30px;
  background:
    radial-gradient(900px 360px at 20% 10%, rgba(37,99,235,.10), transparent 55%),
    radial-gradient(800px 320px at 85% 0%, rgba(11,42,91,.10), transparent 55%),
    linear-gradient(#fff, var(--bg));
  border-bottom:1px solid var(--line);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:22px;
  align-items:start;
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height:1.12;
  letter-spacing:-.02em;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:1.08rem;
  max-width: 62ch;
}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 14px}
.badges{
  padding:0; margin:16px 0 0; list-style:none;
  display:flex; flex-wrap:wrap; gap:10px;
}
.badges li{
  font-size:.95rem;
  color:var(--muted);
  background: var(--surface);
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:999px;
}

/* Sections */
.section{padding:56px 0}
.section--alt{
  background: linear-gradient(var(--bg), #fff);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section h2{
  margin:0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing:-.01em;
}
.lead2{margin-top:0; color:var(--muted)}

/* Cards & grids */
.card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:18px;
  box-shadow: var(--shadow);
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.cards3 .card h3{margin:0 0 10px}
.cards3 .card ul{margin:0; padding-left:18px; color:var(--muted)}
.cards3 .card li{margin:8px 0}
.note{
  margin-top:18px;
  padding:14px 16px;
  border:1px solid rgba(37,99,235,.25);
  background: rgba(37,99,235,.06);
  border-radius: var(--r);
}
.steps{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.steps li{margin:8px 0}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  background: var(--primary);
  color:#fff;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
}
.btn:hover{
  background: var(--primary2);
  color:#fff;
  text-decoration:none;
}
.btn--ghost{
  background: transparent;
  color: var(--primary);
  border-color: rgba(11,42,91,.25);
}
.btn--ghost:hover{
  background: rgba(11,42,91,.06);
  color: var(--primary);
}
.btn--small{padding:10px 12px; font-size:.95rem}

/* Forms */
.form label{display:block; margin:10px 0; font-weight:600; color:var(--text)}
input, textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: #fff;
  color: var(--text);
  outline:none;
  font: inherit;
}
input:focus, textarea:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.checkbox{display:flex; gap:10px; align-items:flex-start; font-weight:500; color:var(--muted)}
.checkbox input{width:auto; margin-top:3px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: #fff;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap:12px;
  align-items:center;
}
.footer__links{display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end}

/* helpers */
.hp{display:none !important}

/* Cookie banner (jeśli masz z poprzednich kroków) */
.cookie-banner{
  position:fixed;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  width:min(1120px, 92vw);
  background: rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding:16px;
  z-index:9999;
  display:none;
}
.cookie-banner.show{display:block}
.cookie-banner h3{margin:0 0 6px; font-size:1.05rem}
.cookie-banner p{margin:0 0 12px; color:var(--muted); font-size:.95rem}
.cookie-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between}
.cookie-buttons{display:flex; gap:10px; flex-wrap:wrap}
.cookie-settings{display:none; margin-top:12px; padding-top:12px; border-top:1px dashed var(--line)}
.cookie-settings label{display:flex; gap:10px; align-items:flex-start; margin:8px 0; font-size:.95rem; font-weight:600; color:var(--text)}
.cookie-settings label span{font-weight:500; color:var(--muted)}
.cookie-settings input{margin-top:4px}

@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .cards3{grid-template-columns:1fr}
  .footer__inner{grid-template-columns:1fr; text-align:left}
  .footer__links{justify-content:flex-start}
  .cookie-actions{flex-direction:column; align-items:flex-start}
}
