:root {
  color-scheme: light;
  --bg-top: #eaf3ff;
  --bg-bottom: #f5f9ff;
  --card: rgba(255, 255, 255, 0.92);
  --text: #1d2939;
  --muted: #667085;
  --border: #d0d5dd;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #dbeafe;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 34%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.page {
  min-height: 100vh;
  padding: 24px 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: min(100%, 560px);
  padding: 24px 18px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 6px 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.form {
  margin-top: 24px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

textarea,
input[type="tel"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

textarea:focus,
input[type="tel"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  transform: translateY(-1px);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.submit-button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.26);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-button:active {
  transform: scale(0.99);
}

.submit-button:disabled {
  opacity: 0.6;
}

.message {
  min-height: 24px;
  margin: 14px 2px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: var(--accent-strong);
}

@media (max-width: 480px) {
  .page {
    padding: 14px 12px 24px;
    align-items: stretch;
  }

  .card {
    width: 100%;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 26px;
  }
}
