:root {
  color-scheme: light;
  --navy: #1e2761;
  --ice-soft: #eef3fc;
  --accent: #1faf52;
  --text: #1a1a2e;
  --muted: #5b6478;
  --error: #c0392b;
  --border: #d7e0f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ice-soft);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(30, 39, 97, 0.08);
  padding: 32px 28px;
  width: 100%;
  max-width: 480px;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--navy);
}

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

.schedule-banner {
  background: #fdf1ea;
  color: #8a4b1f;
  border: 1px solid #f0d3ba;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  margin: 0 0 18px;
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.field-row .field {
  flex: 1;
  margin-bottom: 0;
}

label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--error);
}

.field-error {
  display: block;
  min-height: 16px;
  color: var(--error);
  font-size: 12.5px;
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 4px 0 18px;
}

button {
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

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

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

.form-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 13.5px;
  text-align: center;
}

.form-status.status--ok {
  color: var(--accent);
  font-weight: 600;
}

.form-status.status--error {
  color: var(--error);
  font-weight: 600;
}
