:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #eef4f8;
  color: #102a43;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.card {
  width: min(100%, 31rem);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgb(16 42 67 / 12%);
}

.brand {
  color: #007c91;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  line-height: 1.15;
}

h2 {
  font-size: 1.3rem;
}

p {
  line-height: 1.55;
}

form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

label {
  font-weight: 700;
}

input,
button {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.55rem;
  font: inherit;
}

input {
  padding: 0.7rem 0.8rem;
  border: 1px solid #829ab1;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid #63b3ed;
  outline-offset: 2px;
}

button {
  margin-top: 0.45rem;
  padding: 0.7rem 1rem;
  border: 0;
  background: #007c91;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #006475;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.message {
  min-height: 1.5rem;
  margin: 1.25rem 0 0;
  color: #9c2c2c;
  font-weight: 650;
}

.message[data-kind="success"] {
  color: #12643b;
}

[hidden] {
  display: none !important;
}
