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

body {
  background: #fff;
  color: #111;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  padding: 0 0 80px;
}

.wrap {
  width: calc(100% - 40px);
  max-width: 560px;
  margin: 0 auto;
}

p {
  margin-bottom: 24px;
}

a {
  color: #111;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  padding: 18px 20px 14px;
  margin-bottom: 28px;
}

.topnav-inner,
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav-inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer {
  margin-top: 40px;
}

.topnav a,
.footer a {
  color: #111;
  text-decoration: none;
}

.topnav a:hover,
.footer a:hover,
.topnav a[aria-current="page"] {
  text-decoration: underline;
}

.byline {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #aaa;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif;
}

.note-item {
  margin-bottom: 24px;
}

.note-item a {
  font-weight: 500;
}

.note-meta {
  display: block;
  margin-top: 4px;
  color: #888;
  font-size: 13px;
}

.note h1 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 8px;
}

.note h2 {
  font-size: 17px;
  font-weight: 500;
  margin: 28px 0 10px;
}

.note h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 22px 0 8px;
}

.note p,
.note li {
  color: #111;
}

.note ul,
.note ol {
  margin: 0 0 24px 1.25rem;
}

.note li {
  margin-bottom: 6px;
}

.note pre {
  background: #f6f6f6;
  padding: 14px 16px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.5;
}

.note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.note p code {
  background: #f6f6f6;
  padding: 0 4px;
}

.note blockquote {
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 2px solid #ddd;
  color: #444;
}

.note img {
  max-width: 100%;
}
