:root {
  color-scheme: light;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: #202d27;
  background: #f1f4f2;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  place-items: center;
  background: #f1f4f2;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(28rem, 100%);
  padding: clamp(1.5rem, 7vw, 2.5rem);
  border: 1px solid #e2e8e4;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 44px rgb(24 39 31 / 7%);
}

h1 {
  margin: 0 0 1.5rem;
  color: #202d27;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  color: #45584e;
  font-size: 0.9375rem;
  font-weight: 600;
}

input,
button {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  font: inherit;
}

input {
  border: 1px solid #cbd5cf;
  padding: 0.625rem 0.75rem;
  background: #fff;
  color: #202d27;
}

input:focus-visible {
  outline: 3px solid #a16207;
  outline-offset: 3px;
}

button {
  margin-top: 0.5rem;
  border: 1px solid #17665b;
  padding: 0.625rem 1rem;
  background: #17665b;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

button:hover {
  border-color: #125347;
  background: #125347;
}

button:focus-visible {
  outline: 3px solid #a16207;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
