:root {
  --bg: #0f1117;
  --panel: #171a23;
  --panel-strong: #202433;
  --text: #f4f6fb;
  --muted: #a8b0c3;
  --line: #2b3142;
  --accent: #5865f2;
  --accent-2: #3ba55d;
  --warning: #fee75c;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(15, 17, 23, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-avatar,
.bot-logo {
  display: grid;
  place-items: center;
  object-fit: cover;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 90px clamp(18px, 5vw, 80px) 70px;
  border-bottom: 1px solid var(--line);
}

.hero-background {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  align-content: center;
  gap: 18px;
  padding: 56px;
  opacity: 0.2;
  transform: rotate(-6deg) scale(1.08);
}

.hero-background span {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 8px;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.bot-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: var(--panel-strong);
  color: var(--text);
  border: 1px solid var(--line);
}

.section {
  padding: 80px clamp(18px, 5vw, 80px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.command-section {
  background: #121620;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.command-grid code {
  display: block;
  padding: 14px 12px;
  background: #0b0d13;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--warning);
  text-align: center;
  font-size: 15px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.legal-page {
  padding: 70px clamp(18px, 5vw, 80px);
}

.legal-content {
  max-width: 860px;
}

.legal-content h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin-bottom: 24px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-content p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .feature-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-background {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 82vh;
    padding-top: 70px;
  }

  .bot-logo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .feature-grid,
  .stats-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }
}
