:root {
  --bg: #040608;
  --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-light); 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: #10111a;
  border-bottom: 1px solid var(--border);
}

header .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

header .brand img { width: 188px; height: 75px; object-fit: contain; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 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-light);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

h1 { font-size: 1.8rem; margin: 0 0 0.6rem; }

p.lead {
  max-width: 32rem;
  color: var(--text-dim);
  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 {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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;
  z-index: 20;
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTopBtn:hover { border-color: var(--accent); }
