*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1d2329;
  background: #fff;
}

a { color: #0b5cad; }
a:hover { color: #083f78; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.top {
  border-bottom: 1px solid #e3e7eb;
  background: #f6f8fa;
}

.top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  font-weight: 700;
  font-size: 19px;
  color: #1d2329;
  text-decoration: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.menu a { text-decoration: none; }
.menu a:hover, .menu a.on, .menu a[aria-current] { text-decoration: underline; }
.menu a[aria-current] { color: #1d2329; }

main { padding-top: 8px; padding-bottom: 32px; }

.crumbs {
  margin: 16px 0 0;
  font-size: 14px;
  color: #5b6570;
}

h1 { font-size: 30px; line-height: 1.25; margin: 16px 0 8px; }
h2 { font-size: 23px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 19px; line-height: 1.35; margin: 24px 0 8px; }

p, ul, ol, blockquote { margin: 0 0 14px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 4px; }

blockquote {
  padding: 8px 16px;
  border-left: 4px solid #c9d3dc;
  background: #f6f8fa;
}
blockquote p:last-child { margin-bottom: 0; }

.checked {
  font-size: 14px;
  color: #5b6570;
}

.table {
  overflow-x: auto;
  margin: 0 0 18px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.45;
}

caption {
  text-align: left;
  font-weight: 700;
  padding: 0 0 6px;
}

th, td {
  border: 1px solid #dde3e8;
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
}

thead th { background: #f0f3f6; }
table.short th { width: 38%; background: #f6f8fa; font-weight: 600; }
table.summary { min-width: 720px; font-size: 14px; }

.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.cards li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.45;
}

.cards a { font-weight: 700; font-size: 17px; }
.cards span, .list span { display: block; margin-top: 4px; }

.list { list-style: none; padding: 0; }
.list li { margin-bottom: 12px; }
.list span { color: #3f4850; font-size: 15px; }

.related {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid #e3e7eb;
}

.foot {
  border-top: 1px solid #e3e7eb;
  background: #f6f8fa;
  font-size: 14px;
  color: #5b6570;
}

.foot .wrap { padding-top: 16px; padding-bottom: 16px; }
.foot p { margin: 0 0 6px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 25px; }
  h2 { font-size: 21px; }
  .top .wrap, .menu { flex-direction: column; align-items: flex-start; }
}
