* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #fafafa;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #ececec;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.12), 0 8px 20px -10px rgba(0, 0, 0, 0.06);
  padding: 48px 40px;
  text-align: center;
}

h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.subtitle {
  font-size: 14.5px;
  color: #6b6b6b;
  margin: 0 0 24px;
  line-height: 1.6;
}

.app-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.app-badge[hidden] {
  display: none;
}

form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  font-size: 13px;
  font-weight: 500;
  color: #3a3a3a;
  margin: 18px 0 7px;
}

label:first-of-type {
  margin-top: 0;
}

input[type="text"],
input[type="email"],
textarea {
  border: 1px solid #e2e2e2;
  background: #fafafa;
  color: #1a1a1a;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  font-weight: 400;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  background: #ffffff;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

input[readonly] {
  background: #f0f0f0;
  color: #8a8a8a;
  border-color: #ececec;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

button {
  margin-top: 24px;
  padding: 13px 16px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

button:hover:not(:disabled) {
  opacity: 0.88;
}

button:active:not(:disabled) {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-status {
  margin: 16px 0 0;
  font-size: 13px;
  min-height: 18px;
  text-align: center;
}

.form-status.success {
  color: #111111;
  font-weight: 500;
}

.form-status.error {
  color: #c22626;
  font-weight: 500;
}
