* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(145deg, #e9eff6, #f8fafc);
  color: #172334;
}

.card {
  width: 100%;
  max-width: 430px;
  background: white;
  padding: 38px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 55px rgba(25,45,75,.12);
}

.logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 25px;
}

h1 {
  font-size: 25px;
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  text-align: center;
  color: #687589;
  font-size: 14px;
  margin-bottom: 30px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 14px;
  border: 1px solid #d9e1eb;
  border-radius: 9px;
  margin-bottom: 20px;
  font-size: 15px;
}

input:focus {
  outline: 2px solid #2878d0;
  outline-offset: 1px;
}

.terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  color: #526174;
  margin: 3px 0 23px;
}

.terms input {
  margin: 0;
  flex-shrink: 0;
}

button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 9px;
  background: #172334;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #28578b;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

#message {
  text-align: center;
  font-size: 13px;
  margin-top: 16px;
}

footer {
  text-align: center;
  font-size: 11px;
  color: #8390a0;
  margin-top: 28px;
}

@media(max-width: 480px) {
  .card { padding: 28px 22px; }
  h1 { font-size: 22px; }
}
