/* Brązowo-beżowa, lekka, responsywna */
:root{
  --bg: #f5efe6;          /* beżowe tło */
  --surface: #fff8ef;     /* jaśniejszy beż dla kart */
  --text: #3a2e24;        /* ciemny brąz */
  --muted: #6b5a4b;       /* jaśniejszy brąz dla opisów */
  --accent: #8b5e3c;      /* akcent (brąz) */
  --accent-hover: #744d31;
  --border: #e9dfd4;
  --shadow: 0 6px 20px rgba(58,46,36,.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Layout */
.container{
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 16px;
}

.site-header{
  background: linear-gradient(0deg, var(--surface), #fffdf8);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding-block: 20px;
  text-align:center;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap: 14px;
  text-decoration:none;
  color: inherit;
}

.brand-logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.06));
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.brand-title{
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing:.2px;
}

.site-main{ padding-block: 24px 56px; }
.site-footer{
  border-top: 1px solid var(--border);
  background: #fffdf8;
  padding: 18px 0;
  color: var(--muted);
  text-align:center;
}

/* Karty i treść (zgodne z Twoimi klasami) */
.content.space-y > * + * { margin-top: 16px; }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(14px, 2.2vw, 22px);
  box-shadow: var(--shadow);
}

h1, h2, h3{
  color: var(--text);
  margin: 0 0 .4em 0;
  line-height: 1.25;
}
h1{ font-size: clamp(22px, 3.4vw, 32px); }
h2{ font-size: clamp(18px, 2.6vw, 26px); }

p{ margin: .5em 0; }
.muted{ color: var(--muted); }

a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(139,94,60,.35);
}
a:hover{ color: var(--accent-hover); border-bottom-color: transparent; }

img{ display:block; max-width:100%; height:auto; border-radius: 12px; border: 1px solid var(--border); }

/* Drobne usprawnienia na węższych ekranach */
@media (max-width: 540px){
  .brand-logo{ width: 44px; height: 44px; }
  .header-inner{ padding-block: 16px; }
}
