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

:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--stone-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: var(--stone-400, #a8a29e);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--stone-900);
}

.site-shell {
  width: min(100% - 32px, 72rem);
  margin: 0 auto;
  padding: 24px 0 72px;
}

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

.brand {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--stone-600);
  font-size: 0.875rem;
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--stone-500);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 44rem;
  margin: 28px 0 56px;
  color: var(--stone-700);
  font-size: 1.125rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: 56px;
  align-items: start;
}

.page-content {
  max-width: 48rem;
}

.page-content h2 {
  margin: 44px 0 12px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.page-content h3 {
  margin: 28px 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
}

.page-content p,
.page-content ul,
.page-content ol,
.page-content table {
  margin: 0 0 16px;
}

.page-content ul,
.page-content ol {
  padding-left: 1.3rem;
}

.page-content li + li {
  margin-top: 6px;
}

.meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  margin: 0 0 32px;
  color: var(--stone-700);
  font-size: 0.875rem;
}

.meta dt {
  color: var(--stone-500);
}

.meta dd {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

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

th {
  color: var(--stone-700);
  font-weight: 600;
}

.side-note {
  position: sticky;
  top: 24px;
  border-left: 1px solid var(--stone-200);
  padding-left: 20px;
  color: var(--stone-600);
  font-size: 0.875rem;
}

.side-note h2 {
  margin: 0 0 12px;
  color: var(--stone-900);
  font-size: 1rem;
  font-weight: 600;
}

.side-note ul {
  margin: 0;
  padding-left: 1rem;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.support-item {
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  padding: 18px;
  background: var(--stone-100);
}

.support-item h3 {
  margin-top: 0;
}

.site-footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--stone-200);
  color: var(--stone-500);
  font-size: 0.875rem;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 72rem);
    padding-top: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 40px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .content-grid,
  .support-list {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--stone-200);
    padding: 20px 0 0;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
