:root {
  --bg: #0b0d10;
  --surface: #14181d;
  --border: #232a32;
  --text: #e8ecf1;
  --muted: #9aa5b1;
  --accent: #b6f24a;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 20px;
}

nav a:hover {
  color: var(--text);
}

main {
  flex: 1;
  padding: 56px 0 72px;
}

.hero h1 {
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 34em;
  margin: 0 0 32px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #0b0d10;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 56px;
}

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

.card h2 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

article h1 {
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

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

article h2 {
  font-size: 20px;
  margin: 40px 0 10px;
}

article p,
article li {
  color: #cfd6de;
}

article ul,
article ol {
  padding-left: 22px;
}

article li {
  margin-bottom: 6px;
}

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

.box p {
  margin: 0 0 6px;
}

.box p:last-child {
  margin-bottom: 0;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

footer.site p {
  margin: 0 0 6px;
}

footer.site a {
  color: var(--muted);
}

footer.site .links a {
  margin-right: 16px;
}
