@font-face {
  font-family: "Garet";
  src: url("/brand/garet-heavy.woff2") format("woff2");
  font-weight: 800 950;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/brand/geist-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/brand/geist-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Geist", Arial, sans-serif;
  color: #061217;
  background: #f1f3f0;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(100, 231, 85, .18), transparent 29rem),
    #f1f3f0;
}

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

.login-card {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid #243237;
  border-radius: 34px;
  color: #fff;
  background: #071216;
  box-shadow: 0 28px 80px rgba(7, 18, 22, .18);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid #253238;
}

.login-brand img { width: 122px; height: auto; filter: brightness(0) invert(1); }
.login-brand span { color: #9eaaa5; font-size: 14px; }

.login-copy { padding: 42px 42px 24px; }
.eyebrow {
  margin: 0 0 18px;
  color: #64e755;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Garet", "Arial Black", sans-serif;
  font-size: clamp(40px, 9vw, 64px);
  line-height: .96;
  letter-spacing: -.045em;
}

.login-copy > p:last-child {
  max-width: 390px;
  margin: 22px 0 0;
  color: #bac3c0;
  font-size: 16px;
  line-height: 1.5;
}

.login-form { padding: 8px 42px 30px; }
.login-form label {
  display: block;
  margin-bottom: 9px;
  color: #bac3c0;
  font-size: 13px;
  font-weight: 700;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px;
  border: 1px solid #344249;
  border-radius: 18px;
  background: #111d21;
}

.password-field:focus-within {
  border-color: #64e755;
  box-shadow: 0 0 0 3px rgba(100, 231, 85, .15);
}

.password-field input {
  min-width: 0;
  height: 46px;
  padding: 0 11px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 700 20px/1 "Geist", sans-serif;
}

.password-field button {
  padding: 0 14px;
  border: 0;
  color: #aeb8b4;
  background: transparent;
  font: 700 13px/1 "Geist", sans-serif;
  cursor: pointer;
}

.login-error {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid #874747;
  border-radius: 13px;
  color: #ffb2b2;
  background: #2a1718;
  font-size: 13px;
  line-height: 1.4;
}

.login-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  border: 0;
  border-radius: 18px;
  color: #061217;
  background: #64e755;
  font: 800 17px/1 "Geist", sans-serif;
  cursor: pointer;
}

.login-submit:hover { background: #75ec69; }
.login-submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.login-note {
  margin: 0;
  padding: 20px 42px 24px;
  border-top: 1px solid #253238;
  color: #778480;
  font-size: 12px;
}

@media (max-width: 560px) {
  .login-shell { padding: 14px; }
  .login-card { border-radius: 25px; }
  .login-brand { padding: 20px 22px; }
  .login-brand span { display: none; }
  .login-copy { padding: 34px 24px 22px; }
  .login-form { padding: 6px 24px 26px; }
  .login-note { padding: 18px 24px 22px; }
}
