*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #2c5c4f;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --input-bg: rgba(255, 255, 255, 0.1);
  --input-border: rgba(255, 255, 255, 0.25);
  --input-focus: rgba(255, 255, 255, 0.4);
  --accent: rgba(255, 255, 255, 0.95);
}

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

main {
  width: 100%;
  max-width: 32rem;
  text-align: center;
}

header {
  margin-bottom: 3rem;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.enquiries {
  margin-bottom: 4rem;
}

.enquiries h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.enquiries-intro {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.email-form input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.email-form input::placeholder {
  color: var(--text-muted);
}

.email-form input:hover {
  background: rgba(255, 255, 255, 0.12);
}

.email-form input:focus {
  outline: none;
  border-color: var(--input-focus);
  background: rgba(255, 255, 255, 0.14);
}

.email-form button {
  padding: 0.875rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.email-form button:hover {
  opacity: 0.92;
}

.email-form button:active {
  opacity: 0.88;
}

.form-message {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 1.25rem;
}

.form-message.success {
  color: rgba(255, 255, 255, 0.95);
}

.form-message.error {
  color: #f5a3a3;
}

footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .email-form {
    flex-direction: row;
    gap: 0.5rem;
  }

  .email-form input {
    flex: 1;
    min-width: 0;
  }

  .email-form button {
    flex-shrink: 0;
  }
}
