:root {
  --bg: #f4f0e7;
  --card: #fffdf8;
  --ink: #17231c;
  --muted: #7d837a;
  --line: rgba(23, 35, 28, 0.12);
  --green: #1b3528;
  --gold: #b9934f;
  --red: #cd4b3d;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(185, 147, 79, 0.16), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(27, 53, 40, 0.11), transparent 30%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

.login-shell { width: 100%; max-width: 380px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #f4ead7;
  background: var(--green);
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 20px;
}

.brand strong { display: block; font-size: 18px; letter-spacing: 0.02em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: 0.14em; }

.login-card {
  padding: 30px 26px 24px;
  border: 1px solid rgba(23, 35, 28, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 24px 60px rgba(40, 46, 38, 0.12);
}

.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 9px; letter-spacing: 0.18em; }
h1 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 28px; font-weight: 600; }
.sub { margin: 10px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }

label { display: block; margin-bottom: 7px; color: #5b625a; font-size: 11px; }
input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #faf7f0;
  font-size: 15px;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185, 147, 79, 0.12); }

button {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  color: #f6eee0;
  background: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.65; cursor: wait; }

.error { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 11px; }
.footnote { margin: 18px 0 0; color: #a0a49b; text-align: center; font-size: 9px; }
