@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
}

:root {
  --purple: #7c6af7;
  --cyan: #22d3ee;
  --ink: #0a0a0a;
  --panel: #101010;
  --line: #242424;
  --text: #f0f0f0;
  --muted: #a3a3a3;
}

html { font-size: 11pt; }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124,106,247,0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(34,211,238,0.06), transparent 28%),
    var(--ink);
  color: var(--text);
}
a { color: inherit; }
.shell { max-width: 980px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; }
.brand-sub {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.desktop-nav { display: flex; gap: 0.65rem; }
.desktop-nav a {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b8b8b8;
  text-decoration: none;
}
.desktop-nav a:hover { color: #fff; border-color: #555; }
.mobile-nav { display: none; position: relative; }
.menu-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: #ddd;
  background: #101010;
  font-weight: 600;
}
.menu-toggle::-webkit-details-marker { display: none; }
.menu-toggle-burger { display: inline-flex; flex-direction: column; gap: 0.2rem; width: 1rem; }
.menu-toggle-burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 210px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0d0d;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  z-index: 30;
}
.mobile-nav[open] .mobile-panel { display: flex; }
.mobile-panel a { padding: 0.5rem 0.25rem; color: #ccc; text-decoration: none; }
.mobile-panel a:hover { color: #fff; }
.hero { max-width: 780px; padding: 1.5rem 0 2.5rem; }
.label {
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
h1 {
  max-width: 18ch;
  margin: 0 0 1.2rem;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.lede {
  max-width: 64ch;
  margin: 0;
  color: #d2d2d2;
  font-size: 1.2rem;
  line-height: 1.75;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid #333;
  border-radius: 9px;
  color: #ddd;
  text-decoration: none;
}
.button-primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.button:hover { border-color: var(--cyan); color: #fff; }
.section { margin-top: 2.25rem; }
.section-head { max-width: 690px; margin-bottom: 1.2rem; }
.section-head h2 { margin: 0 0 0.55rem; font-size: 1.7rem; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.65; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}
.card-kicker {
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card h2, .card h3 { margin: 0 0 0.55rem; font-size: 1.2rem; }
.card p { margin: 0; color: #b5b5b5; line-height: 1.68; }
.card-meta { margin-top: 0.85rem; color: #858585; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; }
.prose {
  max-width: 760px;
  padding: 1.4rem;
  border-left: 3px solid var(--purple);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,0.025);
}
.prose p { margin: 0 0 1rem; color: #c5c5c5; font-size: 1.08rem; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.steps { display: grid; gap: 0.75rem; max-width: 760px; }
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(124,106,247,0.16);
  color: #c8c0ff;
  font-weight: 700;
}
.step h3 { margin: 0 0 0.3rem; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: #888;
}
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .shell { padding: 1rem 1rem 2rem; }
  header { margin-bottom: 1rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 1rem; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .lede { font-size: 1.08rem; }
  .actions { flex-direction: column; }
  .button { justify-content: center; width: 100%; }
}
