:root {
  color: #1a202c;
  background: #fff;
  font-family: Inter, sans-serif;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.bar, .hero, .section, .foot {
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-top: 4px solid #ff5500;
}

.mark {
  color: #0d223a;
  font-weight: 700;
  text-decoration: none;
}

.lang a {
  color: #0d223a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.lang a[aria-current='true'] {
  color: #ff5500;
}

.hero {
  padding: 56px 0 32px;
}

.hero h1, .section h2, .card h3 {
  color: #0d223a;
  line-height: 1.15;
}

.lead, .card p, .foot {
  color: #334155;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: #ff5500;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #0d223a;
  color: #0d223a;
}

.section {
  padding: 16px 0 48px;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  padding: 20px;
  background: #f4f6f8;
  border-radius: 4px;
}

.foot {
  padding: 24px 0 48px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
