:root {
  color-scheme: dark;
  --bg: #071118;
  --ink: #f6fff8;
  --muted: rgba(246, 255, 248, 0.72);
  --line: rgba(103, 255, 222, 0.3);
  --panel: rgba(5, 18, 26, 0.88);
  --panel-soft: rgba(15, 42, 44, 0.78);
  --lime: #aefe30;
  --cyan: #00eaff;
  --gold: #ffd338;
  --hot: #ff4e8f;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 9, 14, 0.96), rgba(5, 18, 27, 0.66) 54%, rgba(3, 9, 14, 0.88)),
    linear-gradient(180deg, rgba(7, 17, 24, 0.2), rgba(7, 17, 24, 0.98)),
    url("/assets/hero.png");
  background-position: center right;
  background-size: cover;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 234, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 254, 48, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(3, 10, 15, 0.84);
  border-bottom: 1px solid rgba(103, 255, 222, 0.18);
  backdrop-filter: blur(12px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px var(--shadow));
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a,
footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(103, 255, 222, 0.42);
}

.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 5vw, 76px) 70px;
}

.hero-inner {
  width: min(790px, 100%);
}

.hero-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 26px var(--shadow));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 86px;
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 18px 34px var(--shadow), 0 0 30px rgba(0, 234, 255, 0.35);
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.05;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: rgba(246, 255, 248, 0.84);
  font-size: 22px;
  line-height: 1.5;
}

.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: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 18, 26, 0.7);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.button.primary {
  border-color: transparent;
  background: var(--lime);
  color: #07130a;
}

.section,
.band,
.legal {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 58px 0;
}

.compact {
  padding-top: 22px;
}

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

.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature {
  min-height: 245px;
  padding: 18px;
}

.feature img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 12px 18px var(--shadow));
}

.feature strong {
  display: block;
  margin-bottom: 9px;
  color: var(--lime);
  font-size: 18px;
}

.feature:nth-child(2) strong {
  color: var(--cyan);
}

.feature:nth-child(3) strong {
  color: var(--gold);
}

.feature:nth-child(4) strong {
  color: var(--hot);
}

.feature p,
.band p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.58;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(0, 234, 255, 0.32);
  border-radius: 8px;
  background: var(--panel-soft);
}

.band p {
  margin-bottom: 0;
}

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

.link-grid a {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 18, 26, 0.74);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(246, 255, 248, 0.7);
  font-size: 13px;
}

footer span:last-child {
  display: flex;
  gap: 16px;
}

.legal-page {
  background: #071118;
}

.legal-page::before {
  opacity: 0.44;
}

.legal {
  padding: 120px 0 46px;
}

.legal-header {
  max-width: 820px;
  margin-bottom: 24px;
}

.legal-header h1 {
  font-size: 58px;
}

.legal-card {
  padding: clamp(20px, 4vw, 34px);
}

.legal-card h2 {
  margin: 28px 0 10px;
  color: var(--lime);
  font-size: 22px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 14px;
}

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

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

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

@media (max-width: 640px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 78vh;
    padding: 34px 20px 46px;
  }

  .hero-logo {
    width: 74px;
    height: 74px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .legal-header h1 {
    font-size: 38px;
  }

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

  footer {
    flex-direction: column;
  }

  footer span:last-child {
    flex-direction: column;
    gap: 8px;
  }

  .legal {
    padding-top: 42px;
  }
}
