:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #5b6673;
  --line: #e2e6eb;
  --accent: #2f5d7c;
  --accent-soft: #e9f0f5;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: #234a63; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* Nagłówek */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; min-height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand svg { width: 32px; height: 32px; flex: none; }

/* Treść */
main.wrap { flex: 1; padding-top: 48px; padding-bottom: 56px; }

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 { margin: 40px 0 12px; font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 16px; }

.lead { font-size: 1.125rem; }

.uses {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.uses li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}
.uses strong { display: block; margin-bottom: 4px; }
.uses span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
}

.contact {
  margin: 0 0 16px;
  padding: 4px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact div:last-child { border-bottom: 0; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.small { color: var(--muted); font-size: 0.925rem; }

/* Stopka */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0 0 4px; }

@media (max-width: 480px) {
  main.wrap { padding-top: 32px; padding-bottom: 40px; }
  .lead { font-size: 1.0625rem; }
  .wrap { padding: 0 16px; }
}
