:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6f6f78;
  --rule: #e6e6e6;
  --open: #1f883d;
  --merged: #8250df;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0e10;
  --fg: #f2f2f5;
  --muted: #9a9aa8;
  --rule: #2a2a30;
  --open: #3fb950;
  --merged: #a371f7;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e0e10;
    --fg: #f2f2f5;
    --muted: #9a9aa8;
    --rule: #2a2a30;
    --open: #3fb950;
    --merged: #a371f7;
  }
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.7;
  padding: 64px 20px 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 540px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

p {
  margin-bottom: 26px;
}

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

strong {
  font-weight: 500;
}

em {
  font-style: italic;
  font-weight: 300;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--fg) 32%, transparent);
}

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

a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}

.hi {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.lede {
  margin-bottom: 22px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.socials a {
  text-decoration: none;
  color: var(--muted);
}

.socials a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.label {
  margin-top: 48px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.stack {
  margin-top: 48px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.item {
  margin-bottom: 28px;
}

.item p {
  margin-bottom: 0;
}

.item p + p {
  margin-top: 5px;
}

.meta {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.numbers {
  list-style: none;
  padding-left: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.prs {
  list-style: none;
  padding-left: 0;
}

.pr {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 8px;
  margin-bottom: 28px;
}

.pr > a {
  grid-column: 2;
  grid-row: 1;
}

.pr-icon {
  grid-column: 1;
  grid-row: 1;
  flex: none;
  align-self: start;
  margin-top: 4px;
  fill: currentColor;
}

.pr-icon-open {
  color: var(--open);
}

.pr-icon-merged {
  color: var(--merged);
}

.pr-icon-accepted {
  color: var(--open);
}

.pr-meta {
  grid-column: 2;
  grid-row: 2;
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.muted {
  color: var(--muted);
}

.breath {
  margin-top: 48px;
}

.links {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.links a {
  text-decoration: none;
  color: var(--muted);
  margin-right: 15px;
}

.links a:last-child {
  margin-right: 0;
}

.links a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bye {
  color: var(--muted);
  font-weight: 300;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer a {
  text-decoration: none;
  color: var(--muted);
}

.footer a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.byline {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}

#theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: none;
  border: 0;
  padding: 6px 4px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

#theme-toggle:hover {
  color: var(--fg);
}

#theme-toggle:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  body {
    padding: 52px 18px 80px;
    font-size: 15px;
  }

  .label {
    margin-top: 40px;
  }

  .stack {
    margin-top: 40px;
  }

  .breath {
    margin-top: 40px;
  }

  .footer {
    gap: 14px;
    margin-top: 48px;
  }

  .byline {
    bottom: 16px;
    left: 18px;
  }

  #theme-toggle {
    top: 14px;
    right: 16px;
  }
}
