:root {
  --bg: #f5f4ef;
  --panel: #ffffff;
  --text: #171717;
  --muted: #666154;
  --border: rgba(23, 23, 23, 0.08);
  --accent: #0f766e;
  --accent-strong: #115e59;
  --shadow: 0 18px 40px rgba(26, 21, 17, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f6f2 0%, #eeece4 100%);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: min(100%, 420px);
  padding: 24px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.intro {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

.form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  resize: vertical;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field input::placeholder {
  color: #9a9487;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.11);
  transform: translateY(-1px);
}

button {
  border: none;
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.2);
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.status {
  min-height: 22px;
  margin: 8px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.footnote {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 480px) {
  .card {
    padding: 22px;
    border-radius: 18px;
  }

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