:root {
  color-scheme: dark;
  --bg: #05080d;
  --panel: rgba(8, 17, 31, 0.68);
  --line: rgba(148, 163, 184, 0.28);
  --text: #f8fafc;
  --muted: #a8b3c5;
  --blue: #1266ff;
  --blue-2: #3b82f6;
  --teal: #5bb8b4;
  --error: #fda29b;
  --success: #86efac;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(18, 102, 255, 0.18), transparent 28rem),
    linear-gradient(140deg, rgba(91, 184, 180, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 56px 22px 28px;
}

.signup-panel {
  align-self: center;
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.lyra-logo {
  display: block;
  width: min(560px, 94vw);
  height: auto;
  margin: 0 auto 34px;
  filter: drop-shadow(0 22px 44px rgba(18, 102, 255, 0.2));
}

.intro {
  max-width: 620px;
  margin: 0 auto 28px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 680;
  letter-spacing: 0;
}

.intro p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

input,
button {
  min-height: 52px;
  border-radius: 6px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.78);
  color: var(--text);
  outline: none;
  padding: 0 16px;
}

input::placeholder {
  color: #748094;
}

input:focus {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 3px rgba(18, 102, 255, 0.22);
}

button {
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  cursor: pointer;
  font-weight: 700;
  padding: 0 20px;
  white-space: nowrap;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

footer {
  text-align: center;
  color: rgba(203, 213, 225, 0.74);
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
}

.company-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.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;
}

@media (max-width: 620px) {
  .page-shell {
    padding: 42px 16px 24px;
  }

  .lyra-logo {
    margin-bottom: 28px;
  }

  h1 {
    font-size: 25px;
  }

  .intro p {
    font-size: 15px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  footer {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}
