:root {
  --bg: #0f1020;
  --panel: #191b33;
  --text: #ecebf5;
  --muted: #a3a3c2;
  --accent: #ff9f1c;
  --accent-2: #e63946;
  --max: 960px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f5fb; --panel: #fff; --text: #1b1b2f; --muted: #5b5b7a; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid rgba(127,127,160,.2); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; }
nav a:hover { color: var(--accent); }
.hero { text-align: center; padding: 72px 0 48px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: 0; }
h2 { margin-top: 48px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--panel); border-radius: 14px; padding: 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.card img { border-radius: 20px; }
.card h3 { margin: 12px 0 4px; }
.card p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.btn { display: inline-block; background: var(--accent); color: #1b1b2f; padding: 6px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; margin: 3px; font-size: .9rem; }
.soon { color: var(--muted); font-size: .9rem; }
.doc { padding: 40px 0 24px; max-width: 760px; }
.doc h1 { margin-bottom: 4px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 1.25rem; margin-top: 32px; }
footer.site { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(127,127,160,.2); color: var(--muted); font-size: .9rem; text-align: center; }
footer.site a { color: var(--muted); }
