:root {
  --bg: #f4f1ea;
  --green: #0b4f3a;
  --text: #121212;
  --card: #ffffff;
  --line: #d9d4c7;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  width: min(720px, 100%);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

a { color: var(--green); }

a:hover,
a:focus-visible { text-decoration-thickness: 2px; }

.logo {
  margin: 0;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  font-size: 1.15rem;
}

header.wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 28px;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--green);
}

nav a {
  color: var(--green);
  margin-right: 0.9rem;
  white-space: nowrap;
}

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

main.wrap { padding-top: 8px; padding-bottom: 12px; }

h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0.7em 0 0.4em;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 1.4em 0 0.35em;
}

.lead { font-size: 1.15rem; }

.updated { margin-top: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px 8px;
  margin: 14px 0;
}

.card h2 { margin-top: 14px; }

.company {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.button {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 8px;
}

.button:hover,
.button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

footer.wrap {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  padding-bottom: 40px;
  font-size: 0.95rem;
}

.langs a { font-weight: 700; letter-spacing: 0.04em; }

.note { font-size: 0.9rem; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.lang { display: none; }

html[lang="pl"] .lang-pl,
html[lang="en"] .lang-en,
html[lang="es"] .lang-es,
html[lang="fr"] .lang-fr { display: block; }
