:root {
  color-scheme: dark;
  --background: #07110d;
  --surface: #101d17;
  --surface-strong: #17271f;
  --text: #f5f7f5;
  --muted: #a9bbb1;
  --accent: #86c51c;
  --line: #2a3d33;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(134, 197, 28, .14), transparent 30rem),
    var(--background);
}

a { color: inherit; }

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #07110d;
  background: var(--accent);
  font-weight: 900;
}

nav { display: flex; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

.hero { padding: 88px 0 56px; }

.eyebrow {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 18px 0;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  padding-bottom: 72px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
}

.card h2 { margin: 8px 0 10px; font-size: 1.7rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }
.card .links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 24px; }
.card a, .button {
  color: var(--text);
  font-weight: 750;
  text-underline-offset: 4px;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 17px;
  border-radius: 12px;
  color: #07110d;
  background: var(--accent);
  text-decoration: none;
}

.content {
  max-width: 780px;
  padding: 64px 0 80px;
}

.content h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); }
.content h2 { margin-top: 36px; }
.content p, .content li { color: var(--muted); line-height: 1.7; }

footer {
  padding: 28px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 620px) {
  header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding: 18px 0; }
  nav { flex-wrap: wrap; }
  .hero { padding-top: 60px; }
}
