:root {
  --bg: #f7f7f4;
  --card: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #e5e2db;
  --accent: #2e5b4e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.hero {
  padding: 28px 0 60px;
  border-bottom: 1px solid var(--line);
  background: #fcfcfa;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lang-switcher {
  display: flex;
  gap: 8px;
}

.lang-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px;
}

.lang-btn.active,
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

h1, h2, h3 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 800px;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
}

.section {
  padding: 60px 0;
}

.section.alt {
  background: #f0eee8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

ul {
  padding-left: 20px;
  margin: 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}
