:root {
  --bg: #f5f6f9;
  --surface: #ffffff;
  --text: #1b1d24;
  --muted: #5c6270;
  --faint: #9aa0ad;
  --border: #e3e6ec;
  --ember: #e8743c;
  --ember-deep: #cf5e2e;
  --ember-light: #f2a06a;
}

* {
  box-sizing: border-box;
}

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

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

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--text);
}
.brand svg {
  display: block;
}
nav a {
  margin-left: 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.hero {
  text-align: center;
  padding: 52px 0 28px;
}
.flame-badge {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f2a06a, #e8743c 55%, #cf5e2e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 24px;
}
.pill {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 36px 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 24px 0 40px;
  color: var(--faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
footer.site .links a {
  color: var(--muted);
  margin-right: 16px;
}

.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
}
.doc h1 {
  font-size: 30px;
  text-align: left;
}
.doc h2 {
  font-size: 18px;
  margin-top: 28px;
}
.doc .meta {
  color: var(--faint);
  font-size: 14px;
  margin-top: -8px;
}
.doc .lead {
  font-size: 16px;
}
.doc ul {
  padding-left: 20px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 30px;
  }
}
