:root {
  --text-main: #1f3a52;
  --text-soft: #2f4f6b;
}

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

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  line-height: 1.6;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #1f3a52;
  background: #b7cfe0;
}

h1,
p {
  margin: 0 0 1rem;
}

.website {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
}

.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.tagline {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 1.25rem;
  color: var(--text-main);
}

.description {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 30rem;
  margin: 0 auto 2.5rem;
  color: var(--text-soft);
}

form {
  display: flex;
  flex-direction: column;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  align-self: flex-start;
}

input[type="email"] {
  max-width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1f3a52;
  background: #ffffff;
  border: 2px solid #1f3a52;
  border-radius: 0.5rem;
}

button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  color: #ffffff;
  background: #1f3a52;
  border: 2px solid #1f3a52;
  border-radius: 0.5rem;
  cursor: pointer;
}

button:hover {
  background: #2f5d80;
  border-color: #2f5d80;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid #1f3a52;
  outline-offset: 3px;
}

.input-wrapper {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  width: min(100%, 28rem);
}

@media (max-width: 480px) {
  .input-wrapper {
    flex-direction: column;
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

footer a,
footer a:visited {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer a.icon-x,
footer a.icon-x:visited {
  color: #000000;
}

footer a.icon-facebook,
footer a.icon-facebook:visited {
  color: #0866ff;
}

footer a.icon-email,
footer a.icon-email:visited {
  color: #1f3a52;
}

footer a:hover {
  opacity: 0.75;
}

footer a svg {
  width: 24px;
  height: 24px;
}

[hidden] {
  display: none !important;
}
