:root {
  color-scheme: dark;
  --bg: #090d1c;
  --surface: rgba(23, 27, 58, 0.82);
  --surface-strong: #171b3a;
  --text: #f7f8ff;
  --muted: #b7bcda;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #8b7cff;
  --accent-strong: #635bff;
  --cyan: #20c8ff;
  --success: #72e6ad;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(99, 91, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 86% 74%, rgba(32, 200, 255, 0.13), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a {
  color: #b9b3ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 28, 0.76);
  backdrop-filter: blur(18px);
}

nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

main {
  padding: 5.5rem 0 6rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 62vh;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin: 0.7rem 0 1.25rem;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-mark {
  width: min(100%, 420px);
  justify-self: center;
  filter: drop-shadow(0 34px 70px rgba(42, 35, 150, 0.4));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 32px rgba(99, 91, 255, 0.32);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.card,
.content-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.4rem;
}

.card p {
  color: var(--muted);
}

.content-panel {
  max-width: 820px;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.content-panel + .content-panel {
  margin-top: 1.5rem;
}

.content-panel h2:first-of-type {
  margin-top: 0.5rem;
}

.content-panel h3 {
  margin-top: 2.25rem;
}

.steps {
  margin: 1.35rem 0;
  padding-left: 1.4rem;
}

.steps li {
  padding-left: 0.35rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: var(--success);
  font-weight: 700;
}

.status::before {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: currentColor;
  content: "";
  box-shadow: 0 0 18px currentColor;
}

pre {
  overflow-x: auto;
  margin: 1.25rem 0;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #070a16;
  color: #e8eaff;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

li + li {
  margin-top: 0.5rem;
}

.muted,
.legal-meta {
  color: var(--muted);
}

footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-mark {
    width: min(70vw, 340px);
    grid-row: 1;
  }

  .nav-links {
    gap: 0.65rem;
    font-size: 0.82rem;
  }
}
