:root {
  --bg: #100f16;
  --card: #1b1a25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ece9f4;
  --muted: #a39db3;
  --faint: #6f6a7e;
  --pink: #ff4d9e;
  --grad: linear-gradient(135deg, #ff7a45 0%, #ff4d9e 50%, #8b5cf6 100%);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--pink); }
a:hover { color: #ff7ab8; }
img { max-width: 100%; }
code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

header.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(16, 15, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
nav.main { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); }

main { padding: 2.5rem 0 4rem; }

.hero { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; padding: 1.5rem 0 2.5rem; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.01em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; }
.hero .icon { width: 168px; height: 168px; border-radius: 36px; box-shadow: 0 20px 60px rgba(139, 92, 246, 0.35); }
.pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pill { font-size: 0.85rem; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.65rem 1.1rem; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); }
.btn-ghost:hover { color: var(--text); border-color: var(--pink); }

section { margin: 3rem 0; }
section h2 { font-size: 1.5rem; margin: 0 0 0.5rem; }
section p.sub { color: var(--muted); margin: 0 0 1.5rem; }
section > p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

figure.shot { margin: 0 0 2rem; }
figure.shot img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border-strong); }
figure.shot figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.split img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-strong); }

ul.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.7rem; }
ul.checks li { padding-left: 1.6rem; position: relative; color: var(--muted); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--grad); }
ul.checks li strong { color: var(--text); }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
ol.steps li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.1rem 4rem; position: relative; }
ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
ol.steps h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
ol.steps p { margin: 0; color: var(--muted); }

dl.calls { margin: 0; display: grid; gap: 0.9rem; }
dl.calls dt { font-weight: 600; }
dl.calls dd { margin: 0.15rem 0 0; color: var(--muted); }

footer.bottom { border-top: 1px solid var(--border); padding: 2rem 0 3rem; color: var(--faint); font-size: 0.9rem; }
footer.bottom .wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
footer.bottom img { width: 28px; height: 28px; border-radius: 7px; }
footer.bottom nav { margin-left: auto; display: flex; gap: 1rem; flex-wrap: wrap; }
footer.bottom a { color: var(--muted); text-decoration: none; }
footer.bottom a:hover { color: var(--text); }

.doc h1 { font-size: 1.9rem; margin: 0 0 0.25rem; }
.doc .updated { color: var(--faint); margin: 0 0 2rem; }
.doc h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 2rem 0 0.5rem; color: var(--text); }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.25rem; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero .icon { width: 120px; height: 120px; border-radius: 26px; }
  .split { grid-template-columns: 1fr; }
}
