:root {
  color-scheme: dark;
  --bg: #0d0f13;
  --surface: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f5f7;
  --muted: #a6abb4;
  --accent: #b8ff6d;
  --accent-soft: rgba(184, 255, 109, 0.11);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 255, 109, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 88%, rgba(123, 141, 255, 0.10), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.header { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(184, 255, 109, 0.42);
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.82rem;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(184, 255, 109, 0.8);
}

.hero {
  align-self: center;
  max-width: 870px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 7.6rem);
  line-height: 0.89;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

.lead {
  max-width: 690px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.65;
}

.lead strong { color: var(--text); font-weight: 650; }
.lead a { color: inherit; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.facts span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7dae0;
  background: var(--surface);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1120px); }
  .header, .footer { padding: 20px 0; }
  .hero { padding: 58px 0 66px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  h1 { letter-spacing: -0.06em; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero { animation: reveal 620ms ease-out both; }
  @keyframes reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
