:root {
  --bg: #10131f;
  --panel: #171b2a;
  --panel-2: #20263a;
  --ink: #f7f8ff;
  --muted: #aeb6ce;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #5865f2;
  --cyan: #22d3ee;
  --green: #35d07f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 211, 238, 0.2), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(88, 101, 242, 0.22), transparent 30%),
    var(--bg);
}

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

.shell {
  min-height: 100svh;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(36px, 6vw, 86px) clamp(20px, 5vw, 72px);
}

.copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 10px;
}

.copy p:not(.eyebrow),
.cta p,
.grid p {
  color: var(--muted);
  line-height: 1.6;
}

.copy p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(88, 101, 242, 0.28);
}

.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.discord-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.discord-top {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.12);
}

.discord-top small {
  margin-left: auto;
  color: var(--green);
  font-weight: 800;
}

.chat {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.message {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.message span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.message p {
  margin: 0;
}

.message.bot {
  border-left: 4px solid var(--blue);
}

.message.success {
  border-left-color: var(--green);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.stats div {
  min-height: 112px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 1.5rem;
}

.stats span {
  margin-top: 5px;
  color: var(--muted);
}

.section,
.cta {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

code {
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 900;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.cta div {
  max-width: 760px;
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .button {
    width: 100%;
  }
}
