@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

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

html, body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--surface-alt);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1 { font-size: 28px; font-weight: 800; color: var(--dark); }
h2 { font-size: 22px; font-weight: 700; color: var(--dark); }
h3 { font-size: 18px; font-weight: 700; color: var(--dark); }
p  { color: var(--text-secondary); }

button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

button.primary {
  background: var(--primary);
  color: white;
}
button.primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
button.primary:active { transform: translateY(0); }

button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
button.ghost:hover { background: var(--surface); }

button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

input[type="email"],
input[type="password"],
input[type="text"] {
  font-family: inherit;
  font-size: 15px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-muted);
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
  font-size: 12px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.error-text {
  color: var(--error);
  font-size: 14px;
  margin-top: 8px;
}

.hint-text {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-top: 8px;
}
