@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{
  --green:#26483a;
  --green-soft:#6f8c76;
  --yellow:#f4d978;
  --yellow-soft:#faedbc;
  --red:#c9584b;
  --cream:#fffaf0;
  --ink:#1f3028;
  --white:#fffdf8;
  --line:#e5dbc4;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'DM Sans',Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(244,217,120,.55), transparent 60%),
    radial-gradient(900px 500px at 85% 90%, rgba(201,88,75,.35), transparent 55%),
    linear-gradient(135deg, #1f3028 0%, #26483a 55%, #324a3b 100%);
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}
.login-shell{width:100%;max-width:420px}
.login-card{
  background:var(--white);
  border-radius:22px;
  padding:34px 32px 26px;
  box-shadow:0 24px 48px rgba(0,0,0,.25);
  border:1px solid var(--line);
}
.login-head{margin-bottom:22px;text-align:center}
.kicker{margin:0 0 6px;color:var(--red);font-size:10px;letter-spacing:.17em;font-weight:800}
.login-head h1{margin:0 0 8px;font:600 32px/1 'Space Grotesk',sans-serif;letter-spacing:-.04em;color:var(--green)}
.subtitle{margin:0;font-size:13px;color:rgba(31,48,40,.65)}
.login-form{display:flex;flex-direction:column;gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(31,48,40,.62)}
input{
  width:100%;
  border:1px solid #d9d0c1;
  border-radius:10px;
  background:#fff;
  padding:11px 12px;
  color:var(--ink);
  font:14px 'DM Sans',sans-serif;
  outline:none;
  transition:border-color .15s, box-shadow .15s;
}
input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(201,88,75,.15)}
.button{
  margin-top:6px;
  border:0;
  border-radius:999px;
  padding:13px 20px;
  font:700 13px 'DM Sans',sans-serif;
  cursor:pointer;
  transition:transform .1s, filter .15s;
}
.button.primary{background:var(--green);color:var(--white)}
.button.primary:hover:not(:disabled){filter:brightness(1.08)}
.button:disabled{opacity:.65;cursor:progress}
.status{min-height:18px;margin:4px 0 0;font-size:12px;color:var(--red);text-align:center}
.status.ok{color:var(--green)}
.login-foot{margin-top:18px;text-align:center}
.login-foot small{color:rgba(31,48,40,.55);font-size:11px}
@media (max-width:480px){
  .login-card{padding:28px 22px 22px}
  .login-head h1{font-size:28px}
}
