:root {
  --bg: #0c0d12;
  --panel: #15161d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0f6;
  --muted: #a2a7b8;
  --coral: #ff5a6e;
  --amber: #ffb020;
  --mint: #19d3a2;
  --blue: #3d9bff;
  --violet: #a46bff;
  --grad: linear-gradient(90deg, var(--coral), var(--violet) 55%, var(--blue));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(12, 13, 18, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand img { width: 30px; height: 30px; }
.brand:hover { text-decoration: none; }
nav.links { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
nav.links a { color: var(--muted); }
nav.links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; color: #fff; background: var(--grad); box-shadow: 0 12px 30px rgba(164, 107, 255, 0.25); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; box-shadow: none; border: 1px solid var(--line); color: var(--text); }

.hero { position: relative; overflow: hidden; padding: 96px 0 56px; text-align: center; }
.hero::before, .hero::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(110px); opacity: 0.28; z-index: -1; }
.hero::before { background: var(--coral); left: -180px; top: -240px; }
.hero::after { background: var(--blue); right: -200px; top: 40px; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.chip b { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.04em; margin: 22px auto 18px; max-width: 900px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shot { margin: 56px auto 0; max-width: 1040px; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line); }

section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 14px; }
.kicker { color: var(--coral); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card .dot { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery img { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; max-width: 760px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 60px; position: relative; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.steps li b { color: var(--text); }
kbd { font: 600 12px/1 ui-monospace, Menlo, Consolas, monospace; padding: 3px 7px; border-radius: 6px; background: #22242e; border: 1px solid var(--line); color: var(--text); }

.doc { max-width: 760px; padding: 64px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); text-align: left; margin: 0 0 8px; }
.doc .date { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: #cfd3df; }
.doc ul { padding-left: 20px; }
.doc li { margin: 8px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 650; }
details p { margin: 10px 0 2px; }

footer.bottom { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.bottom nav { display: flex; gap: 18px; margin-left: auto; }
footer.bottom a { color: var(--muted); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .hero { padding-top: 64px; }
}
