:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #14171a;
  --muted: #5b6570;
  --line: #e3e6ea;
  --accent: #1565d8;
  --accent-soft: #e8f0fe;
  --radius: 14px;
  --maxw: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1113;
    --surface: #171b1f;
    --text: #e9edf1;
    --muted: #9aa5b1;
    --line: #262c33;
    --accent: #5b9dff;
    --accent-soft: #14243d;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 22px 72px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

header.site .name {
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 17px;
}

header.site .name span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

p { margin: 0 0 14px; }

.lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0 36px;
}

.features .card { margin: 0; }
.features h3 { margin-top: 0; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

.meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0 0 18px;
}

.scroller { overflow-x: auto; }

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

footer.site {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

footer.site a { color: var(--muted); text-decoration: underline; }
footer.site a:hover { color: var(--accent); }

.nowrap { white-space: nowrap; }
