:root {
  --bg: #0d0d0f;
  --surface: #17171a;
  --border: #26262b;
  --text: #ececf0;
  --muted: #8a8a94;
  --accent: #7dd3c0;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", "Segoe UI", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

header.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 24px;
}
.nav .logo { color: var(--text); font-weight: 600; font-size: 20px; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

section.wrap { padding-block: 72px; }
h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
h2 { font-size: 28px; letter-spacing: -0.01em; margin-bottom: 20px; font-weight: 600; }
h3 { font-size: 17px; margin-bottom: 6px; font-weight: 600; }
p + p { margin-top: 12px; }

section.hero { text-align: center; padding-top: 48px; }
.lead { color: var(--muted); font-size: 20px; max-width: 560px; margin: 20px auto 32px; }
.small { color: var(--muted); font-size: 14px; margin-top: 20px; }

.lightline {
  position: relative; overflow: hidden;
  width: min(420px, 85%); height: 52px; margin: 24px auto 48px;
  background: rgba(13, 13, 15, 0.9); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 26px;
}
.lightline::before { /* the resting line */
  content: ""; position: absolute; left: 28px; right: 28px; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 95, 0.25), transparent);
}
.lightline .glow { /* a soft glow gliding back and forth along it */
  position: absolute; top: 50%; left: 28px; width: 30%; height: 3px; margin-top: -1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff5a5f 35%, #ffd1cc 50%, #ff5a5f 65%, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 90, 95, 0.35);
  animation: glide 3.6s ease-in-out infinite alternate;
}
@keyframes glide { to { left: calc(100% - 28px - 30%); } }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.btn:hover { border-color: var(--muted); text-decoration: none; }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid article {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px;
}
.grid p { color: var(--muted); font-size: 15px; }
.soon {
  font-size: 11px; font-weight: 500; color: var(--bg); background: var(--muted);
  border-radius: 6px; padding: 1px 6px; vertical-align: middle; margin-left: 4px;
}

.steps { margin: 20px 0; padding-left: 22px; }
.steps li { margin: 8px 0; padding-left: 6px; }
.note { color: var(--muted); font-size: 15px; }

pre {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; margin: 20px 0; overflow-x: auto; font-size: 14px; line-height: 1.7;
}
code { font-family: "JetBrains Mono", "SF Mono", Consolas, monospace; font-size: 0.9em; }

footer.wrap {
  display: flex; justify-content: space-between; color: var(--muted);
  border-top: 1px solid var(--border); padding-top: 28px; padding-bottom: 40px; font-size: 14px;
}
footer a { color: var(--muted); }
footer.wrap { flex-wrap: wrap; gap: 12px 24px; }
footer .family { flex-basis: 100%; }

@media (max-width: 560px) {
  .nav nav { gap: 14px; }
  .nav nav a:nth-child(-n+2) { display: none; }
  section.wrap { padding-block: 56px; }
}
