html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1a1a1a;
  background: #fff;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid #e4e4e4;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand img {
  display: block;
  width: 72px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

nav a,
footer a,
main a {
  color: #1a1a1a;
}

nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  padding: 28px 0 48px;
}

h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
}

.subtitle {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 500;
}

h2 {
  margin: 32px 0 10px;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 1.25em;
}

.table-scroll {
  margin: 8px 0 20px;
  overflow-x: auto;
}

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

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

th {
  background: #f6f6f6;
  font-weight: 500;
}

.updated {
  font-style: italic;
}

footer {
  border-top: 1px solid #e4e4e4;
  padding: 20px 0 36px;
  font-size: 14px;
  color: #333;
}

footer p {
  margin: 0 0 6px;
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .header-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 1.7rem;
  }
}
