:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #13233a;
  --muted: #5b6b80;
  --accent: #1d6fb8;
  --line: #dde5ef;
  --backdrop: #e6edf5;
  --on-accent: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1622;
    --card: #16212f;
    --text: #e6edf5;
    --muted: #9aa9bb;
    --accent: #5aa9f0;
    --line: #253244;
    --on-accent: #0e1622;
  }
}

* {
  box-sizing: border-box;
}

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

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

.top,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.brand span {
  color: var(--muted);
  font-weight: 500;
}

.top nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

.top nav a {
  text-decoration: none;
}

.langs {
  font-size: 15px;
  color: var(--muted);
}

section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0 0 20px;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 6px;
}

h2 {
  font-size: 21px;
  margin: 28px 0 8px;
}

section > h2:first-child {
  margin-top: 0;
}

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

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hero img {
  width: 200px;
  height: 200px;
  flex: none;
  border-radius: 20px;
  background: var(--backdrop);
}

.lead {
  font-size: 19px;
  margin: 0 0 12px;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 600;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.features strong {
  display: block;
}

.faq dt {
  font-weight: 600;
  margin-top: 16px;
}

.faq dd {
  margin: 4px 0 0;
}

footer {
  color: var(--muted);
  font-size: 14px;
  padding-top: 8px;
  padding-bottom: 40px;
}

footer a {
  margin-right: 14px;
}

@media (max-width: 560px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero img {
    width: 160px;
    height: 160px;
  }

  section {
    padding: 20px;
  }
}
