:root {
  --blue-color: #093c59;
  --light-color: hsl(39 94% 93%);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  color: var(--blue-color);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: min(90vw, 320px);
}

header svg {
  width: 8rem;
  height: auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6em 0.75em;
  border: 1px solid var(--blue-color);
  background: white;
  font-family: inherit;
  font-size: 1rem;
  color: var(--blue-color);
  outline: none;
}

input[type="email"]:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-color) 25%, transparent);
}

button[type="submit"] {
  margin-top: 0.4rem;
  padding: 0.65em;
  background: var(--blue-color);
  color: white;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}

button[type="submit"]:hover {
  opacity: 0.85;
}

@media (pointer: coarse) {
  main {
    width: 85vw;
    gap: 8vw;
  }

  header svg {
    width: 45vw;
  }

  label {
    font-size: 4vw;
  }

  input[type="email"] {
    padding: 3vw;
    font-size: 5vw;
  }

  button[type="submit"] {
    padding: 3.5vw;
    font-size: 5vw;
  }
}
