:root {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #1d2b25;
  background: #f5f6f2;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 22px;
}

main {
  width: min(100%, 390px);
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid #dce4dc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 36px #193d2b0d;
}

h1 { margin: 0; color: #193d2b; font-size: 35px; letter-spacing: -.04em; }
p { margin: 10px 0 24px; color: #58665d; font-size: 14px; line-height: 1.6; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
input, button { width: 100%; min-height: 44px; border-radius: 8px; font: inherit; }
input { padding: 9px 11px; border: 1px solid #bacbbd; }
button { margin-top: 14px; border: 0; background: #24523e; color: #fff; cursor: pointer; font-weight: 700; }
button:hover { background: #193d2b; }
:focus-visible { outline: 2px solid #24523e; outline-offset: 3px; }
.error { margin: 8px 0 0; color: #98382d; }
