:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #30312e;
  background: #272825;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  background:
    radial-gradient(ellipse at 15% 5%, #d4b63419, transparent 52%),
    radial-gradient(ellipse at 88% 95%, #d4b63410, transparent 48%),
    linear-gradient(125deg, #343530, #222320 70%);
}
.login-shell { width: min(100%, 456px); }
.login-card {
  position: relative;
  padding: 34px 42px 26px;
  background: #faf9f3;
  border: 1px solid #e1ddcd;
  border-radius: 24px;
  box-shadow: 0 28px 90px #0005, 0 2px 8px #0001;
}
.login-card::before {
  content: "";
  position: absolute;
  height: 3px;
  width: 64px;
  top: -1px;
  left: calc(50% - 32px);
  border-radius: 0 0 4px 4px;
  background: #d5bb36;
}
.login-header { text-align: center; }
.brand-symbol { display: block; width: 124px; height: 124px; object-fit: contain; margin: 0 auto 23px; }
.eyebrow { margin: 0 0 10px; color: #73662b; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
h1 { margin: 0; font-size: 27px; font-weight: 650; letter-spacing: -.7px; line-height: 1.25; }
.intro { color: #73746b; font-size: 14px; line-height: 1.6; margin: 11px auto 27px; max-width: 270px; }
label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 650; }
input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #d8d7ce;
  border-radius: 10px;
  background: #fffefa;
  color: #30312e;
  font: inherit;
  font-size: 16px;
}
input::placeholder { color: #8a8c83; font-size: 14px; }
button { font: inherit; cursor: pointer; }
#loginButton {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid #c7ac2e;
  border-radius: 10px;
  background: #dfc747;
  color: #242720;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 3px 8px #88701712;
}
#loginButton:hover { background: #e7cf50; }
#loginButton span[aria-hidden] { font-size: 21px; font-weight: 400; line-height: 1; }
button:disabled { opacity: .6; cursor: wait; }
.secondary {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 12px 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #686557;
  font-size: 12px;
  line-height: 1.5;
}
.secondary:hover { text-decoration: underline; color: #30312e; }
#loginMessage { margin: 0; font-size: 13px; line-height: 1.6; color: #954225; overflow-wrap: anywhere; }
#loginMessage:not(:empty) { margin: 8px 0 18px; }
.card-footer { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; padding-top: 20px; border-top: 1px solid #e6e3d7; color: #7a7b70; font-size: 10px; line-height: 1.6; text-align: center; }
.card-footer svg { flex-shrink: 0; }
.login-footer { color: #b7b5a7; font-size: 9px; letter-spacing: 1.8px; text-align: center; line-height: 1.8; margin: 23px 0 0; }
.login-footer span { margin: 0 7px; color: #dfc747; }
input:focus-visible, button:focus-visible { outline: 3px solid #af9225; outline-offset: 3px; }
@media (max-width: 480px) {
  body { padding: 24px 16px; }
  .login-card { padding: 27px 25px 23px; border-radius: 20px; }
  .brand-symbol { width: 100px; height: 100px; margin-bottom: 20px; }
  h1 { font-size: 25px; }
  .login-footer { font-size: 8px; letter-spacing: 1.2px; }
}
@media (max-height: 740px) and (min-width: 481px) {
  body { padding-top: 20px; padding-bottom: 20px; }
  .login-card { padding-top: 24px; padding-bottom: 22px; }
  .brand-symbol { width: 96px; height: 96px; margin-bottom: 17px; }
  .intro { margin-bottom: 20px; }
}
