/* The homepage (backend/site/index.html). Colours and type from the stats page (stats-web/src/styles.css). Dark only. */

:root {
  --ink: #0e1116;
  --surface: #181d23;
  --line: #262d36;
  --text: #eef1f4;
  --muted: #a3adb8;
  --lime: #d4ff3a;
  --lime-soft: #e9ff9c;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
a { color: var(--lime); }
a:hover { color: var(--lime-soft); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
h1, h2 { font-family: var(--display); margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 760px; margin: 0 auto; padding-inline: 24px; }

.header { border-bottom: 1px solid var(--line); }
.header .wrap { padding-block: 12px; }
.lockup { display: block; height: 44px; width: auto; }

.hero { padding-block: 64px 48px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); }
.lead { color: var(--muted); font-size: 18px; max-width: 62ch; }
.badge { align-self: flex-start; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--lime); color: var(--lime);
  font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }

.card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); }
.card h2 { font-size: 24px; }
.card p { color: var(--muted); }
.primary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px;
  background: var(--lime); color: var(--ink); font-weight: 600; text-decoration: none; }
.primary:hover { background: var(--lime-soft); color: var(--ink); }

.footer { margin-top: 56px; padding-block: 20px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .hero { padding-block: 40px 32px; }
  .card { padding: 20px; }
}
