:root {
  color-scheme: dark;
  --canvas: #0b0d10;
  --surface: #181e26;
  --border: #29313a;
  --action: #1688f8;
  --text: #f4f6f8;
  --secondary: #98a1ae;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: #58adff; text-underline-offset: 0.18em; }
a:hover { color: #8bc6ff; }
.shell { width: min(100% - 2rem, 760px); margin: 0 auto; }
header { padding: 2rem 0 1rem; }
.brand { color: var(--text); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.18em; text-decoration: none; }
main { padding: 2rem 0 4rem; }
.hero { padding: 3.25rem 0 2.5rem; }
.eyebrow { color: var(--action); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { max-width: 680px; margin: 0.55rem 0 1rem; font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 { margin: 2.5rem 0 0.65rem; font-size: 1.32rem; line-height: 1.25; }
h3 { margin: 1.6rem 0 0.4rem; font-size: 1rem; }
p, li { color: var(--secondary); }
.lead { max-width: 650px; font-size: 1.12rem; }
.card { margin: 1.5rem 0; padding: 1.35rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: 0 1rem; border-radius: 10px; background: var(--action); color: white; font-weight: 700; text-decoration: none; }
.button:hover { color: white; background: #3699fa; }
.meta { color: var(--secondary); font-size: 0.9rem; }
ul { padding-left: 1.25rem; }
footer { border-top: 1px solid var(--border); padding: 1.75rem 0 2.5rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
footer p, footer a { margin: 0; font-size: 0.9rem; }
@media (max-width: 520px) {
  .hero { padding-top: 2rem; }
  .card { padding: 1.1rem; }
  .footer-row { flex-direction: column; }
}
