:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #607083;
  --line: #d9e1ea;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --brand: #086d74;
  --brand-dark: #064f55;
  --accent: #f3b84b;
  --success: #14704d;
  --error: #b42318;
  --shadow: 0 24px 70px rgba(24, 33, 47, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 184, 75, 0.24), transparent 28rem),
    linear-gradient(135deg, #edf5f8 0%, #f9fbfd 46%, #eef3f7 100%);
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(520px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-panel {
  width: 100%;
}

.form-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 225, 234, 0.9);
  box-shadow: var(--shadow);
  padding: 34px;
  backdrop-filter: blur(18px);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

label > span {
  color: #36465a;
  font-size: 0.9rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(8, 109, 116, 0.14);
}

.form-message {
  display: none;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-success {
  background: rgba(20, 112, 77, 0.1);
  color: var(--success);
}

.form-message.is-error {
  background: rgba(180, 35, 24, 0.1);
  color: var(--error);
}

.submit-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.submit-button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.submit-button svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 920px) {
  .page-shell {
    padding: 28px 0;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 1120px);
  }

  .form-card {
    padding: 22px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}
