:root {
  color-scheme: dark;
  --bg: #0d0d0f;
  --panel: #151519;
  --text: #f3f3f5;
  --muted: #a6a6ad;
  --line: #2a2a31;
  --accent: #9b87f5;
  --accent2: #c0b4ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  line-height: 1.62;
}
.wrap { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
header {
  border-bottom: 1px solid var(--line);
  background: rgba(13,13,15,.92);
}
nav {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { font-weight: 750; letter-spacing: .2px; }
.links { display: flex; gap: 18px; flex-wrap: wrap; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
main { padding: 72px 0 64px; }
.hero { padding: 8px 0 34px; }
.eyebrow {
  display: inline-block; color: var(--accent2); font-size: .84rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; margin: 0 0 20px; }
h2 { margin: 42px 0 12px; font-size: 1.45rem; }
h3 { margin: 28px 0 8px; font-size: 1.08rem; }
p, li { color: #d7d7dc; }
.lead { font-size: 1.14rem; color: #dedee4; max-width: 720px; }
.card {
  margin-top: 26px; padding: 24px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.item { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #121216; }
.item strong { display:block; margin-bottom: 6px; }
.small { font-size: .92rem; color: var(--muted); }
code { background: #18181e; border: 1px solid var(--line); padding: .12rem .35rem; border-radius: 5px; }
footer {
  border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: .92rem;
}
ul { padding-left: 1.3rem; }
@media (max-width: 650px) {
  .grid { grid-template-columns: 1fr; }
  nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  main { padding-top: 46px; }
}
