:root {
  color-scheme: dark;
  --bg: #08090b;
  --fg: #f4f5f7;
  --muted: #c9cfda;
  --accent: #e8eaed;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 58vh;
  z-index: 1;
}

#swarm-canvas,
#swarm-canvas-gpu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

#swarm-canvas-galaxy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding: 0 2rem 3.5rem;
  text-align: center;
}

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

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.subline {
  margin: 0 auto 2.5rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
}

.cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent);
  color: var(--bg);
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1.5rem;
  }

  .cta {
    padding: 0.75rem 1.5rem;
  }
}

.workswith {
  margin-top: 2.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(224, 232, 248, 0.55);
}

.footnote {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(224, 232, 248, 0.62);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.interest {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 26rem;
}

.interest input,
.interest button {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  background: rgba(214, 226, 255, 0.04);
  color: var(--fg);
  transition: border-color 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, opacity 0.2s ease;
}

.interest input {
  flex: 1 1 13rem;
  min-width: 0;
}

.interest input::placeholder {
  color: rgba(214, 226, 255, 0.3);
}

.interest input:focus-visible,
.interest button:focus-visible {
  outline: none;
  border-color: rgba(214, 226, 255, 0.55);
}

.interest button {
  flex: 0 0 auto;
  cursor: pointer;
  letter-spacing: 0.01em;
  border-color: rgba(214, 226, 255, 0.28);
}

.interest button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.interest button[disabled] {
  cursor: default;
  opacity: 0.5;
}

.interest button[disabled]:hover {
  background: rgba(214, 226, 255, 0.04);
  border-color: rgba(214, 226, 255, 0.28);
  color: var(--fg);
}

.interest-note {
  margin: 0.85rem 0 0;
  min-height: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(214, 226, 255, 0.55);
}
