:root {
  --bg: #f2efe9;
  --ink: #0b0c0f;
  --muted: #61646b;
  --accent: #0f2d2a;
  --line: #d9d3c8;
  --paper: #fbfaf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 15% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 45, 42, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(16, 17, 20, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #1f4d47);
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 45, 42, 0.12);
}

.field {
  margin-bottom: 16px;
}

.button {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: var(--accent);
  color: #f8f7f4;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 45, 42, 0.18);
}

.helper {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.helper a {
  color: var(--accent);
}

.notice {
  background: rgba(194, 154, 98, 0.15);
  border: 1px solid rgba(194, 154, 98, 0.35);
  color: #5a3b12;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inline label {
  margin: 0;
  font-size: 13px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.checkbox input {
  width: auto;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
