:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --border: #d2d2d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #2997ff;
    --border: #38383a;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 22px 80px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}

header.site .mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex: none;
  display: block;
}

header.site a.brand {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 28px 0 6px;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 38px 0 8px;
}

p, li { color: var(--text); }

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

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

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

ul { padding-left: 22px; }
li { margin: 6px 0; }

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

.tile-list { list-style: none; padding: 0; margin: 24px 0; }
.tile-list li { margin: 12px 0; }
.tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
}
.tile:hover { border-color: var(--accent); text-decoration: none; }
.tile .label { font-weight: 600; }
.tile .desc { color: var(--muted); font-size: 15px; margin-top: 2px; }
.tile .chev { color: var(--muted); font-size: 22px; flex: none; margin-left: 14px; }

footer.site {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 22px 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
footer.site a { color: var(--muted); }
footer.site nav { margin-bottom: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
