:root {
  color-scheme: dark;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, .09);
  --bg: #000;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:hover { color: var(--muted); }

:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.wrap {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(16px);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

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

.top nav a[aria-current="page"] { color: var(--ink); }

main { padding: 56px 0 80px; }

h1, h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -.04em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
}

.updated {
  margin: 0 0 36px;
  color: var(--faint);
  font-size: 14px;
}

h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 700;
}

p { margin: 0 0 14px; }

ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

li { margin: 0 0 6px; }

a.out { text-decoration: underline; text-underline-offset: 3px; }

footer {
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
}

@media (max-width: 640px) {
  .top-inner, footer .wrap { align-items: flex-start; flex-direction: column; }
  .top nav { gap: 12px; }
}
