:root {
  --bg: #fff;
  --fg: #1a1a1a;
  --muted: #737373;
  --line: #ebebeb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0c;
    --fg: #ededed;
    --muted: #8a8a8a;
    --line: #1f1f1f;
  }
}
*,
:before,
:after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
main {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.nav {
  gap: 20px;
  margin-bottom: 72px;
  font-size: 13px;
  display: flex;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fg);
}
.site-footer {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  display: flex;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover {
  color: var(--fg);
}
.site-footer-links {
  gap: 16px;
  display: flex;
}
p {
  color: var(--muted);
  margin: 0;
}
p + p {
  margin-top: 14px;
}
.masthead {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
}
.name,
.title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.role {
  margin-top: 2px;
}
.intro {
  margin-top: 32px;
}
section {
  margin-top: 64px;
}
section.flush {
  margin-top: 0;
}
.label {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.item {
  border-top: 1px solid var(--line);
  color: inherit;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  text-decoration: none;
  display: grid;
}
.item:last-child {
  border-bottom: 1px solid var(--line);
}
.item-name {
  text-underline-offset: 3px;
  text-decoration: underline #0000;
  transition: text-decoration-color 0.15s;
}
.item:hover .item-name {
  text-decoration-color: var(--fg);
}
.item-note {
  color: var(--muted);
}
.stack {
  grid-template-columns: 140px 1fr;
  margin: 0;
  display: grid;
}
.stack dt,
.stack dd {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 14px 0;
}
.stack dt {
  padding-right: 16px;
}
.stack dt:last-of-type,
.stack dd:last-of-type {
  border-bottom: 1px solid var(--line);
}
.stack dd {
  color: var(--muted);
}
.prose a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.prose a:hover {
  text-decoration-color: var(--fg);
}
.actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  display: flex;
}
.button {
  border: 1px solid var(--line);
  color: var(--fg);
  font: inherit;
  cursor: pointer;
  background: 0 0;
  border-radius: 6px;
  align-items: center;
  padding: 8px 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.15s;
  display: inline-flex;
}
.button:hover {
  border-color: var(--fg);
}
.copy {
  gap: 8px;
}
.copy-command {
  max-width: 100%;
  color: var(--muted);
  padding: 6px 10px 6px 12px;
}
.copy-command:hover {
  color: var(--fg);
}
.copy-command code {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
}
.copy-glyph {
  flex: none;
  display: block;
}
.copy-glyph-done,
.is-copied .copy-glyph-idle {
  display: none;
}
.is-copied .copy-glyph-done {
  display: block;
}
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 64px;
  padding-top: 24px;
  font-size: 13px;
}
#visits {
  opacity: 0;
  transition: opacity 0.3s;
}
#visits.is-visible {
  opacity: 1;
}
:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (width <= 640px) {
  main {
    padding: 40px 20px 72px;
  }
  .nav {
    margin-bottom: 56px;
  }
  section,
  footer {
    margin-top: 48px;
  }
  .item {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .stack {
    grid-template-columns: 1fr;
  }
  .stack dt {
    padding: 14px 0 0;
  }
  .stack dd {
    border-top: none;
    padding: 0 0 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
h1.label,
h2.label {
  margin-top: 0;
}
