:root {
  color-scheme: dark;
  --bg: #070907;
  --surface: #12160f;
  --text: #f4f6ef;
  --muted: #a5ad9b;
  --accent: #b7ff25;
  --line: #2a3025;
}

* { box-sizing: border-box; }

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

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 54px;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
}

.nav-links { display: flex; gap: 18px; }

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

h1 {
  max-width: 650px;
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}

h2 { margin: 42px 0 12px; }
h3 { margin: 24px 0 6px; }

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
}

.card {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--accent);
  color: #10150a;
  font-weight: 750;
  text-decoration: none;
}

p, li { color: #d7ddcf; }
.muted, footer { color: var(--muted); }
ul { padding-left: 22px; }
footer { margin-top: 60px; font-size: .9rem; }

@media (max-width: 560px) {
  main { padding-top: 30px; }
  nav { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }
}
