:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #0f172a;
  background: #f8fafc;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
}

header,
main,
footer {
  width: min(100% - 32px, 720px);
  box-sizing: border-box;
  margin: 0 auto;
}

header {
  padding: 24px 0;
  font-weight: 700;
}

a {
  color: #0369a1;
}

main {
  flex: 1;
  padding: 24px 0 48px;
}

h1 {
  margin-bottom: 8px;
}

main > p {
  color: #475569;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

button {
  justify-self: start;
  margin-top: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #0369a1;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #075985;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

#contact-status {
  margin: 0;
  color: #475569;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 28px;
  color: #64748b;
  font-size: 0.85rem;
}
