@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Raleway:wght@300;400;600&display=swap");

:root {
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --bg-color: #040404;
  --text-primary: #f4f4f5;
  --text-muted: rgba(244, 244, 245, 0.7);
  --accent: #22c55e;
  --border: rgba(244, 244, 245, 0.12);
  --input-bg: rgba(12, 12, 12, 0.65);
  --input-border: rgba(244, 244, 245, 0.18);
  --button-bg: rgba(244, 244, 245, 0.08);
  --button-bg-hover: rgba(244, 244, 245, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg-color);
  color: var(--text-primary);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
}

.site-logo {
  display: block;
  width: clamp(10rem, 18vw, 16rem);
  height: auto;
}

#background-canvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
  filter: blur(36px);
  transform: scale(1.05);
  transform-origin: center;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 64rem;
  padding: 2rem;
}

.hero--minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 100vh;
  text-align: center;
}

.hero__content {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(12px);
  padding: 3.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.65);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero__badge-indicator {
  position: relative;
  display: flex;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero__badge-text {
  color: var(--text-muted);
  font-weight: 600;
}

.hero__title {
  margin: 1.75rem 0 1rem;
  font-size: clamp(3.25rem, 6vw + 1rem, 5.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-align: center;
  font-family: "Raleway", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 300;
}

.hero__subtitle {
  margin: 0 auto 2.5rem;
  max-width: 42rem;
  text-align: center;
  font-size: clamp(0.95rem, 0.8rem + 0.4vw, 1.25rem);
  color: var(--text-muted);
}

.signup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
  width: min(100%, 32rem);
}

.signup__label {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  font-family: "Raleway", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 300;
}

.signup__controls {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
}

.signup__controls input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 0 0.75rem;
  outline: none;
}

.signup__controls input::placeholder {
  color: rgba(244, 244, 245, 0.6);
  font-family: "Raleway", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 300;
}

.signup__controls button {
  min-width: 8rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(244, 244, 245, 0.24);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease,
    box-shadow 180ms ease;
}

.signup__controls button:hover {
  background: var(--button-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.signup__controls button:active {
  transform: translateY(0);
  box-shadow: none;
}

.signup__helper {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .hero__content {
    padding: 2.5rem 1.5rem;
  }

  .signup__controls {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 999px;
  }

  .signup__controls button {
    width: auto;
    flex-shrink: 0;
  }
}
