:root {
  --navy: #0e2438;
  --green: #128047;
  --ink: #1c1917;
  --muted: #5c6560;
  --line: #e4ece7;
  --paper: #f4f7f5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw;
  background: var(--navy);
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.langs {
  display: flex;
  gap: 6px;
}
.langs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #d7e7df;
  padding: 6px 12px 6px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.flag {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.langs button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
html:not([data-lang="cs"]) .l-cs,
html:not([data-lang="sk"]) .l-sk,
html:not([data-lang="en"]) .l-en { display: none; }
main { padding: 72px 7vw 48px; }
h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.lead {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 24px rgba(14, 36, 56, 0.04);
}
article span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
article h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.02em; }
article p { margin: 0; color: var(--muted); line-height: 1.45; }
footer {
  margin: 56px 7vw 0;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 800px) {
  header, main { padding-left: 22px; padding-right: 22px; }
  footer { margin-left: 22px; margin-right: 22px; }
  .grid { grid-template-columns: 1fr; }
}
