@font-face {
  font-family: 'Google Sans';
  src: url('fonts/google_sans/GoogleSansCode-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

body {
  font-family: 'Google Sans', sans-serif;
  background-color: #f2f4f5; /* light steely gray */
  color: #1e1e1e; /* body text */
  margin: 0;
  padding: 0;
}

.container {
  max-width: 720px;
  margin: 10vh auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #3c5f8f; /* electric blue tone */
}

.tagline {
  font-size: 1.25rem;
  font-weight: 500;
}

.bodytext {
  font-size: 1rem;
  line-height: 1.6;
}

.contact a {
  color: #1e1e1e;
  text-decoration: none;
  font-weight: bold;
}

button {
  width: fit-content;
  padding: 0.5rem 1rem;
  background: #3c5f8f;
  color: #fff;
  border: none;
  cursor: pointer;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 2rem;
  max-width: 300px;
  width: 100%;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
  position: relative;
}

.modal-content label {
  font-weight: bold;
  color: #1e1e1e;
}

.modal-content input {
  padding: 0.4rem;
  border: 1px solid #ccc;
  font-family: inherit;
}

.modal-content .error-msg {
  color: #cc0033;
  margin: 0.5rem 0 0 0;
  font-size: 0.8rem;
  display: none;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
}

.footer {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin: 4rem 0 2rem 0;
}
