:root {
  --bg: #0b0b0f;
  --surface: #16161d;
  --surface2: #1f1f28;
  --text: #f5f5f7;
  --muted: #a1a1ad;
  --accent: #7c5cff;
  --divider: rgba(255, 255, 255, 0.08);
  --maxw: 720px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

header.site {
  border-bottom: 1px solid var(--divider);
  padding: 20px 24px;
}

header.site .inner,
main,
footer.site .inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

header.site .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

nav.site {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--accent);
}

main {
  padding: 40px 24px 72px;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 40px 0 10px;
  padding-top: 8px;
}

h3 {
  font-size: 16px;
  margin: 24px 0 6px;
}

p,
li {
  color: #dcdce4;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
}

a {
  color: var(--accent);
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}

.card h3 {
  margin-top: 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.todo {
  border-color: rgba(255, 186, 31, 0.35);
  background: rgba(255, 186, 31, 0.07);
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--divider);
  border-radius: 14px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 14.5px;
}

th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--surface2);
}

tr:last-child td {
  border-bottom: 0;
}

footer.site {
  border-top: 1px solid var(--divider);
  padding: 24px;
  color: var(--muted);
  font-size: 13.5px;
}

footer.site a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}

footer.site a:hover {
  color: var(--accent);
}

.meta {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  margin-top: 8px;
}

@media (max-width: 520px) {
  h1 {
    font-size: 25px;
  }
  main {
    padding: 30px 20px 56px;
  }
}
