:root {
  --bg: #010204;
  --header-bg: #14151a;
  --card: #141319;
  --border: #242231;
  --text: #f1f0f5;
  --text-dim: #93909f;
  --accent: #6244fb;
  --accent-light: #8b7afc;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 1px 1.5rem;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

header .brand { display: flex; align-items: center; }
header .brand img { width: 150px; height: 60px; object-fit: contain; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.lead { color: var(--text-dim); max-width: 480px; line-height: 1.6; }

.section {
  max-width: 720px;
  text-align: left;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.section h1 { font-size: 1.6rem; }
.section h3 { color: var(--accent-light); margin-top: 2rem; }
.section p { color: var(--text-dim); line-height: 1.7; }

footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

footer nav { margin-top: 0.4rem; }
footer nav a { margin: 0 0.6rem; }

#scrollTopBtn {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent-light);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTopBtn:hover { border-color: var(--accent); }
