:root {
  color-scheme: dark;
  --bg: #03050a;
  --panel: rgba(8, 14, 28, 0.78);
  --panel-strong: rgba(10, 18, 36, 0.94);
  --text: #f8fbff;
  --muted: #aab7ca;
  --line: rgba(51, 131, 255, 0.28);
  --blue: #2f7dff;
  --blue-hot: #45b8ff;
  --pink: #f052cf;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 74% 10%, rgba(47, 125, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 22%, rgba(240, 82, 207, 0.1), transparent 22rem),
    linear-gradient(180deg, #03050a 0%, #071020 56%, #03050a 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(69, 184, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 184, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header,
main,
footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  backdrop-filter: blur(18px);
}

.brand,
nav,
footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(47, 125, 255, 0.22);
}

nav,
footer div {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
footer a,
.text-link {
  transition: color 180ms ease, text-shadow 180ms ease;
}

nav a:hover,
footer a:hover,
.text-link:hover {
  color: var(--blue-hot);
  text-shadow: 0 0 18px rgba(69, 184, 255, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(60px, 10vw, 140px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(44px, 8vw, 94px) 0;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-hot);
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.45rem, 9vw, 8.4rem);
  text-transform: uppercase;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 5vw, 4.65rem);
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--text);
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary {
  background: linear-gradient(135deg, var(--blue-hot), var(--blue));
  color: #001124;
  box-shadow: 0 0 34px rgba(47, 125, 255, 0.3);
}

.secondary {
  border-color: rgba(240, 82, 207, 0.38);
  background: rgba(240, 82, 207, 0.08);
}

.button:hover,
.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 34px rgba(47, 125, 255, 0.22), 0 0 24px rgba(240, 82, 207, 0.14);
}

.hero-logo {
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 22px);
  justify-self: end;
  transform: translateX(clamp(18px, 3vw, 46px));
}

.hero-logo img {
  width: min(100%, 430px);
  border-radius: 50%;
  filter: drop-shadow(0 0 38px rgba(47, 125, 255, 0.28));
}

.section {
  margin: 26px 0;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about p {
  max-width: 820px;
}

.join {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(47, 125, 255, 0.15), rgba(240, 82, 207, 0.08)),
    var(--panel-strong);
}

.join-links {
  display: grid;
  gap: 12px;
}

.link-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-card span {
  color: var(--blue-hot);
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 1.2rem;
}

.support {
  background: rgba(4, 8, 16, 0.58);
}

.support p {
  max-width: 780px;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--blue-hot);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 98px;
  color: var(--muted);
}

footer p {
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .brand span {
    display: none;
  }

  .hero,
  .join {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-logo {
    order: -1;
    justify-self: center;
    transform: none;
  }

  .hero-logo img {
    width: min(64vw, 280px);
  }

  h1 {
    font-size: clamp(3rem, 13vw, 5.6rem);
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 22px, 1200px);
  }

  nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(2.7rem, 12.2vw, 4.1rem);
  }

  .actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 26px 20px;
  }
}
