:root {
  --background: #1f7679;
  --accent: #efff6f;
  --text: #f5ffff;
  --muted: #a7d2d5;
  --field-bg: #ffffff;
  --field-text: #203034;
  --field-placeholder: #7c8a8e;
  --error: #ffd0d0;
  --success: #d9ffd9;
  --shadow: 0 28px 60px rgba(4, 31, 35, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 28rem),
    var(--background);
  color: var(--text);
}

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

.contact-card {
  position: relative;
  width: min(100%, 620px);
  padding: 8px 0;
  filter: drop-shadow(var(--shadow));
}

h1 {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: clamp(42px, 8vw, 62px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 540px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.25;
}

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

label {
  margin-top: 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--field-bg);
  color: var(--field-text);
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  outline: 3px solid transparent;
  padding: 20px 24px;
  transition:
    box-shadow 160ms ease,
    outline-color 160ms ease,
    transform 160ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--field-placeholder);
}

input:focus,
textarea:focus {
  outline-color: rgba(239, 255, 111, 0.8);
  box-shadow: 0 0 0 7px rgba(239, 255, 111, 0.12);
}

.submit-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #183034;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 21px 24px;
  text-transform: uppercase;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

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

.form-status {
  min-height: 24px;
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.form-status.success {
  color: var(--success);
}

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

@media (max-width: 640px) {
  .page-shell {
    align-items: start;
    padding-top: 56px;
  }

  input,
  textarea,
  .submit-button {
    padding-inline: 18px;
  }
}
