:root {
  --bg: #07050d; --bg2: #0e0818; --card: #140d22; --card2: #1b1230; --line: #2e1f4d;
  --text: #f1ecff; --muted: #a79bc4; --dim: #6e6390;
  --violet: #a855f7; --magenta: #d946ef; --pink: #ec4899; --cyan: #22d3ee; --green: #4ade80; --red: #fb7185; --amber: #fbbf24;
  --grad: linear-gradient(90deg, #a855f7, #ec4899 55%, #22d3ee);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(900px 500px at 15% -10%, rgba(168,85,247,.25), transparent 60%),
              radial-gradient(800px 500px at 100% 10%, rgba(236,72,153,.18), transparent 60%),
              radial-gradient(700px 500px at 50% 110%, rgba(34,211,238,.10), transparent 60%), var(--bg);
  min-height: 100vh;
}
a { color: #c4b5fd; text-decoration: none; } a:hover { color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: rgba(7,5,13,.8); 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; font-weight: 800; letter-spacing: .04em; color: #fff; }
.brand img { width: 34px; height: 34px; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.main { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--muted); font-weight: 600; font-size: 15px; } nav.main a:hover, nav.main a.active { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card2); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .12s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); border-color: var(--violet); box-shadow: 0 0 22px rgba(168,85,247,.35); color: #fff; }
.btn.primary { background: linear-gradient(90deg, #7c3aed, #db2777); border-color: transparent; }
.btn.primary:hover { box-shadow: 0 0 28px rgba(236,72,153,.5); }
.btn.danger { border-color: rgba(251,113,133,.5); color: #fecdd3; } .btn.danger:hover { border-color: var(--red); box-shadow: 0 0 22px rgba(251,113,133,.35); }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.hero { padding: 84px 0 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.chip { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(168,85,247,.1); color: #d8c8ff; font-size: 13px; font-weight: 600; }
.chip.ok { border-color: rgba(74,222,128,.4); color: #bbf7d0; background: rgba(74,222,128,.08); }
.chip.warn { border-color: rgba(251,191,36,.4); color: #fde68a; background: rgba(251,191,36,.08); }
.chip.bad { border-color: rgba(251,113,133,.4); color: #fecdd3; background: rgba(251,113,133,.08); }
section { padding: 48px 0; }
h2 { font-size: 30px; margin: 0 0 8px; } .sub { color: var(--muted); margin: 0 0 28px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; } .card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; background: rgba(168,85,247,.16); border: 1px solid rgba(168,85,247,.4); }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; max-width: 760px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #0b0614; }
.mock { border-radius: 18px; border: 1px solid var(--line); background: #0a0613; padding: 10px; box-shadow: 0 0 60px rgba(168,85,247,.25); }
.mock .bar { display: flex; gap: 6px; padding: 4px 6px 10px; } .mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a2a5c; display: block; }
.mock .body { display: grid; grid-template-columns: 90px 1fr 110px; gap: 8px; min-height: 250px; }
.mock .side, .mock .insp { background: #120b1f; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: 11px; color: var(--muted); }
.mock .side div { padding: 4px 6px; border-radius: 6px; margin-bottom: 3px; } .mock .side .on { background: linear-gradient(90deg, #7c3aed, #db2777); color: #fff; }
.mock .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.mock .tile { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); background: #150e25; }
.mock .tile:nth-child(1) { background: linear-gradient(135deg, #7c3aed, #ec4899); } .mock .tile:nth-child(2) { background: linear-gradient(135deg, #22d3ee, #7c3aed); border-color: var(--cyan); box-shadow: 0 0 14px rgba(34,211,238,.4); }
.mock .tile:nth-child(3) { background: linear-gradient(135deg, #ec4899, #f59e0b); } .mock .tile:nth-child(5) { background: linear-gradient(135deg, #4c1d95, #22d3ee); }
.mock .insp .pv { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #22d3ee, #7c3aed); margin-bottom: 8px; }
.mock .insp .eq { margin-top: 8px; padding: 5px; text-align: center; border-radius: 6px; background: linear-gradient(90deg, #7c3aed, #db2777); color: #fff; font-weight: 700; }
.note { font-size: 13px; color: var(--dim); margin-top: 10px; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; } footer a { color: var(--muted); } footer .sp { margin-left: auto; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.banner { background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.4); color: #fde68a; padding: 12px 16px; border-radius: 12px; margin: 16px 0; }
.prose { max-width: 780px; } .prose h2 { margin-top: 28px; font-size: 24px; } .prose li { margin: 6px 0; color: #d9cffa; }
.hidden { display: none !important; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } nav.main { gap: 12px; } header.top .wrap { height: auto; padding: 10px 20px; flex-wrap: wrap; } }

.prose.wide { max-width: 1000px; }
.scroll-x { overflow-x: auto; }
.tablewrap { overflow-x: auto; }
