:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --border: #e4e6eb;
  --text: #1a1a1e;
  --muted: #5f6470;
  --accent: #2f6df6;
  --accent-soft: rgba(47, 109, 246, 0.1);
  --radius: 14px;
  --maxw: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --border: #262b36;
    --text: #e9ebef;
    --muted: #9aa1b0;
    --accent: #5b8bff;
    --accent-soft: rgba(91, 139, 255, 0.14);
  }
}

* { box-sizing: border-box; }

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 0 80px;
}

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

.mark {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--border);
}

.hero-icon {
  width: 92px;
  height: 92px;
  border-radius: 21px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
  display: block;
}

header.site .name { font-weight: 650; font-size: 18px; }
header.site .tag { color: var(--muted); font-size: 13.5px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 38px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 24px 0 8px; }

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

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

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

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

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

.cards { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin: 28px 0; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.tile {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--text);
}
.tile:hover { border-color: var(--accent); text-decoration: none; }
.tile .t { font-weight: 650; font-size: 17px; margin-bottom: 4px; }
.tile .d { color: var(--muted); font-size: 14px; }

.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.mail {
  font-weight: 600;
  font-size: 17px;
}

footer.site {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
footer.site a { color: var(--muted); }
