:root {
  --bg: #0f172a;
  --bg-accent: #1e293b;
  --panel: rgba(15, 23, 42, 0.72);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --secondary: rgba(148, 163, 184, 0.16);
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.28), transparent 30%),
    radial-gradient(circle at right, rgba(59, 130, 246, 0.2), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, #020617 100%);
}

.page-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.4), rgba(59, 130, 246, 0.15));
  filter: blur(10px);
}

.hero-brand {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.logo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.intro,
.hint,
.card p {
  color: var(--muted);
  line-height: 1.6;
}

.intro {
  max-width: 58ch;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.invite-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.invite-button {
  color: #052e16;
  background: var(--primary);
}

.invite-button:hover,
.invite-button:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.secondary-button {
  color: var(--text);
  background: var(--secondary);
  border-color: var(--border);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.35);
}

.hint {
  margin: 1rem 0 0;
}

code {
  padding: 0.12rem 0.38rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .hero-brand {
    grid-template-columns: 1fr;
  }

  .logo {
    max-width: 260px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2rem;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 1rem, 1100px);
    padding-top: 1rem;
  }

  .hero {
    border-radius: 22px;
    padding: 1.4rem;
  }

  .logo {
    max-width: 100%;
    border-radius: 22px;
  }

  .actions {
    flex-direction: column;
  }

  .invite-button,
  .secondary-button {
    width: 100%;
  }
}
