/* Base reset */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #ffffff;
  color: #1f2328;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* Layout */
main {
  max-width: 72ch;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

header.hero {
  margin-bottom: 56px;
}

/* Typography */
h1,
h2,
h3 {
  color: #111418;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  margin: 0 0 16px 0;
}

h2 {
  font-size: 1.25rem;
  margin: 48px 0 12px 0;
}

h3 {
  font-size: 1.05rem;
  margin: 32px 0 8px 0;
}

p {
  margin: 0 0 16px 0;
}

.lead {
  font-size: 1.05rem;
  max-width: 68ch;
}

.muted {
  color: #5f6b76;
}

/* Lists */
ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

/* Links */
a {
  color: #0969da;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

a:focus-visible {
  outline: 2px solid #0969da;
  outline-offset: 2px;
}

/* Code & examples */
.card {
  border: 1px solid #d0d7de;
  background: #f6f8fa;
  padding: 20px;
  margin: 16px 0 24px 0;
}

pre {
  margin: 0 0 16px 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid #d0d7de;
  background: #ffffff;
}

pre:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  color: #1f2328;
}

/* Sections */
section {
  margin-bottom: 40px;
}

section.cta {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #d0d7de;
}

/* Footer */
footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #d0d7de;
  font-size: 0.875rem;
  color: #5f6b76;
}

footer p {
  margin: 0 0 8px 0;
}

address {
  font-style: normal;
}
