:root {
  --ink: #111;
  --muted: #5f5f5f;
  --line: #dedede;
  --surface: #f5f5f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid #777;
  outline-offset: 3px;
}

.page-header {
  border-bottom: 1px solid var(--line);
}

.page-header__inner,
.document,
.page-footer__inner {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.page-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

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

.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.document {
  padding-block: 72px 96px;
}

h1,
h2,
h3 {
  font-family: "Clash Display", Helvetica, Arial, sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 600;
}

h2 {
  margin: 56px 0 16px;
  font-size: 30px;
}

h3 {
  margin: 48px 0 14px;
  font-size: 25px;
}

p {
  margin: 0 0 20px;
}

h1 + p {
  color: var(--muted);
}

ul,
ol {
  margin: 0 0 24px;
  padding-left: 26px;
}

li + li {
  margin-top: 10px;
}

strong {
  font-weight: 700;
}

.table-wrap {
  max-width: 100%;
  margin: 28px 0 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

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

th {
  background: var(--surface);
}

tr:last-child td {
  border-bottom: 0;
}

hr {
  margin: 56px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.page-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #000;
}

.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 24px;
}

.page-footer p {
  margin: 0;
  font-size: 13px;
}

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

  .page-header__inner,
  .document,
  .page-footer__inner {
    width: min(100% - 32px, 820px);
  }

  .document {
    padding-block: 48px 72px;
  }

  h2,
  h3 {
    margin-top: 40px;
  }

  th,
  td {
    min-width: 180px;
  }
}
