:root {
  --bg: #0d0b14;
  --surface: #171421;
  --raised: #211c32;
  --line: #2a2540;
  --text: #f4f2fb;
  --muted: #a29fb5;
  --accent: #c6ff3d;
  --accent-text: #0f1405;
  --violet: #9b7bff;
  --warn: #ffb84d;
  --radius: 16px;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.65 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-h {
  height: 0.73em;
  width: auto;
  margin-right: 0.045em;
  vertical-align: baseline;
}

.brand b {
  color: var(--accent);
  font-weight: 800;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 15px;
}

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

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}

.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 12px;
}

main {
  padding-bottom: 56px;
}

.hero {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
  padding-top: 24px;
}

.hero img {
  width: 200px;
  height: 200px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 7vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  margin: 40px 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

h3 {
  margin: 24px 0 4px;
  font-size: 17px;
}

p,
ul,
ol {
  margin: 0 0 14px;
}

li {
  margin-bottom: 6px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.badge {
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 15px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
}

.features {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.card h3 {
  margin-top: 0;
  color: var(--accent);
}

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

.doc h1 {
  margin-top: 16px;
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

.notice {
  background: var(--raised);
  border-left: 4px solid var(--violet);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 18px 0;
}

.warn {
  border-left-color: var(--warn);
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-weight: 600;
}

.todo {
  background: var(--warn);
  color: #1a1203;
  border-radius: 4px;
  padding: 0 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.hero {
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(155, 123, 255, 0.18),
    transparent 70%
  );
}

.hero p {
  margin: 0;
}

.button:hover {
  filter: brightness(1.08);
}

.steps ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0;
  color: var(--muted);
}

.steps li b {
  color: var(--text);
}

@media (min-width: 640px) {
  .steps ol {
    grid-template-columns: repeat(3, 1fr);
  }
}
