:root {
  --bg: #fffaf6;
  --text: #2a2327;
  --muted: #6b6168;
  --accent: #e0566b;
  --card: #ffffff;
  --border: #f0e4dc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1517;
    --text: #f5eef0;
    --muted: #b3a5ab;
    --accent: #ff7a8e;
    --card: #241d20;
    --border: #3a2f34;
  }
}

* { box-sizing: border-box; }

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

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

.wrap { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav a {
  margin-left: 1.25rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
nav a:hover { color: var(--accent); }

.hero { text-align: center; padding: 4rem 0 3rem; }
.hero img.icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.hero h1 { font-size: 2.5rem; margin: 1.5rem 0 0.5rem; line-height: 1.2; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 32rem; margin: 0 auto; }

.badge {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

main.doc { padding: 2.5rem 0 3rem; }
main.doc h1 { font-size: 2rem; margin-top: 0; }
main.doc h2 { margin-top: 2rem; font-size: 1.25rem; }
.updated { color: var(--muted); font-size: 0.9rem; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
footer.site a { color: var(--muted); margin: 0 0.5rem; }
