:root {
  --bg: #0e1116;
  --panel: #161b22;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #7c5cff;
  --accent-2: #4db3ff;
  --border: #232a33;
  --maxw: 860px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(14,17,22,0.9);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand .cube {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}
nav.top a { color: var(--muted); margin-left: 22px; font-size: 14px; }
nav.top a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 72px 0 40px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.tag { display: inline-block; font-size: 13px; color: var(--accent-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; margin-bottom: 20px; }

section { padding: 34px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 24px; margin: 0 0 14px; }
h1, h2, h3 { color: var(--text); }
p { color: var(--text); }
.muted { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 8px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.platforms span { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 7px 13px; font-size: 14px; color: var(--muted); }

.legal { padding: 48px 0; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin-top: 30px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

footer.site { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 20px; color: var(--muted); font-size: 14px; }
footer.site .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer.site a { color: var(--muted); }
footer.site .links a { margin-right: 18px; }

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  nav.top a { margin-left: 14px; }
}
