:root {
  --ink: #1c1f24;
  --muted: #5c6570;
  --line: #e2e5ea;
  --accent: #2b5d8a;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 48px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}

.site-header nav a:hover { color: var(--accent); }

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  margin: 32px 0 10px;
}

p { margin: 0 0 16px; }

.hero { margin-bottom: 44px; }

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

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

.card h2 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }

strong { font-weight: 600; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid #c9ced6;
}

tbody tr:last-child td { border-bottom: none; }

th:last-child, td:last-child {
  text-align: right;
  white-space: nowrap;
}

.note {
  color: var(--muted);
  font-size: 15px;
  border-left: 3px solid var(--line);
  padding: 2px 0 2px 14px;
  margin: 24px 0;
}

.contacts dt {
  font-weight: 600;
  margin-top: 18px;
}

.contacts dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .site-header { margin-bottom: 32px; }
  .site-header nav a { margin: 0 16px 0 0; }
  h1 { font-size: 26px; }
  th, td { padding: 9px 6px; }
}
