:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b10;
  color: #f3f6fb;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(38, 91, 111, 0.22), transparent 34rem),
    radial-gradient(circle at 82% 88%, rgba(65, 43, 101, 0.18), transparent 30rem),
    #080b10;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

.panel {
  width: min(100%, 28rem);
  padding: 2.25rem;
  border: 1px solid #232b36;
  border-radius: 1.25rem;
  background: rgba(14, 18, 25, 0.92);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mark {
  width: 3rem;
  height: 3rem;
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: #7f8b9b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  letter-spacing: 0.02em;
}

h1 span {
  color: #70d7ce;
}

.lead {
  margin: 2rem 0 1.7rem;
  color: #aab4c2;
  line-height: 1.6;
}

form {
  display: grid;
  gap: 0.65rem;
}

label {
  margin-top: 0.55rem;
  color: #cdd5df;
  font-size: 0.83rem;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #303a48;
  border-radius: 0.65rem;
  outline: none;
  background: #0a0e14;
  color: #f3f6fb;
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus {
  border-color: #70d7ce;
  box-shadow: 0 0 0 3px rgba(112, 215, 206, 0.12);
}

button,
.button {
  display: block;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.65rem;
  background: #70d7ce;
  color: #07100f;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  background: #8ce4dc;
}

.alert {
  display: grid;
  gap: 0.4rem;
  margin: 2rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid #713a48;
  border-radius: 0.7rem;
  background: rgba(116, 38, 57, 0.18);
  color: #f2b9c6;
  line-height: 1.5;
}

.alert span {
  color: #cda5ae;
  font-size: 0.9rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: #687585;
  font-size: 0.76rem;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #70d7ce;
  box-shadow: 0 0 0.8rem rgba(112, 215, 206, 0.65);
}

@media (max-width: 32rem) {
  .panel {
    padding: 1.6rem;
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
