:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171411;
  background: #f1eee8;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(178, 76, 51, .12), transparent 35rem),
    linear-gradient(145deg, #f7f4ef 0%, #ece8e0 100%);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.login-card {
  width: min(100%, 430px);
  padding: 38px;
  border: 1px solid rgba(31, 26, 21, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 70px rgba(36, 29, 23, .13);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: #0d0d0d;
  font-size: 20px;
  font-weight: 800;
}

.login-heading { margin: 42px 0 30px; }
.eyebrow {
  margin: 0 0 10px;
  color: #a24832;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 45px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.login-heading > p:last-child {
  margin: 14px 0 0;
  color: #706960;
  font-size: 15px;
  line-height: 1.55;
}

form { display: grid; gap: 9px; }
label {
  margin-top: 7px;
  color: #4e4841;
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 48px;
  border: 1px solid #d8d2c9;
  border-radius: 12px;
  padding: 0 14px;
  color: #171411;
  background: #fbfaf8;
  font: inherit;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input:focus {
  border-color: #a24832;
  background: white;
  box-shadow: 0 0 0 4px rgba(162, 72, 50, .12);
}

button {
  height: 50px;
  margin-top: 17px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: #11100f;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

button:hover { background: #2b2825; transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .58; transform: none; }

.security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #777067;
  font-size: 12px;
  font-weight: 600;
}

.security-note svg { width: 16px; height: 16px; fill: #777067; flex: 0 0 auto; }
.status { min-height: 20px; margin: 17px 0 -4px; color: #a24832; font-size: 13px; font-weight: 700; }
.status[data-state="success"] { color: #397157; }

@media (max-width: 520px) {
  .login-shell { padding: 16px; }
  .login-card { padding: 28px 24px; border-radius: 20px; }
  .login-heading { margin-top: 34px; }
}
