:root {
  color: #26352f;
  background: #f4f0e5;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgb(255 255 255 / 82%), transparent 34rem),
    linear-gradient(145deg, #f7f3e9 0%, #e9eee7 100%);
}

button,
input {
  font: inherit;
}

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

.login-card {
  width: min(100%, 520px);
  padding: clamp(28px, 7vw, 52px);
  border: 1px solid rgb(54 83 70 / 14%);
  border-radius: 28px;
  background: rgb(255 253 247 / 92%);
  box-shadow: 0 28px 80px rgb(49 65 57 / 14%);
}

.brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 18px;
  color: #fffdf7;
  background: #315c4b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  box-shadow: 0 12px 28px rgb(49 92 75 / 24%);
}

.eyebrow {
  margin: 0 0 10px;
  color: #6f7f75;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #263b32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 7vw, 44px);
  font-weight: 500;
  line-height: 1.08;
}

.intro {
  max-width: 42ch;
  margin: 18px 0 30px;
  color: #607068;
  font-size: 17px;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #425b50;
  font-size: 14px;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgb(49 92 75 / 20%);
  border-radius: 16px;
  color: #26352f;
  background: #fffdf7;
  outline: none;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(49 92 75 / 25%);
  outline-offset: 3px;
}

button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #315c4b;
  border-radius: 999px;
  color: #fffdf7;
  background: #315c4b;
  cursor: pointer;
  font-weight: 750;
}

button:hover {
  filter: brightness(1.05);
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.login-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: #6e7c74;
  font-size: 14px;
  line-height: 1.45;
}

.login-status--success {
  color: #39735a;
}

.login-status--error {
  color: #944b3a;
}

.privacy-note {
  margin: 22px 0 0;
  color: #7b877f;
  font-size: 13px;
  line-height: 1.55;
}

noscript {
  display: block;
  margin-top: 18px;
  color: #8b4335;
  font-size: 14px;
}
