:root {
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #2a2620;
  background: #fbf8f1;
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled,
input:disabled {
  opacity: 0.6;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #9b801e;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.welcome {
  background: #efeae0;
  min-height: 100vh;
  padding: 48px clamp(35px, 5.5vw, 90px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.welcome:after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: 95px;
  width: 240px;
  height: 300px;
  border: 1px solid #d8d0bc;
  border-radius: 3px;
  transform: rotate(13deg);
  pointer-events: none;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-family: Georgia, serif;
  font-size: 23px;
  position: relative;
  z-index: 1;
}
.brand img {
  border-radius: 11px;
}
.brand small {
  display: block;
  font:
    9px ui-sans-serif,
    sans-serif;
  letter-spacing: 0.19em;
  color: #7c7563;
  margin-top: 6px;
}
.welcome-copy {
  margin: auto 0;
  padding: 64px 0 82px;
  position: relative;
  z-index: 1;
  max-width: 490px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: #92825d;
  margin: 0 0 24px;
}
h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(43px, 4.6vw, 67px);
  line-height: 1.09;
  letter-spacing: -2px;
  margin: 0 0 26px;
}
.welcome-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: #78705f;
  max-width: 370px;
}
.rule {
  display: block;
  width: 48px;
  height: 3px;
  background: #e2bc40;
  margin: 34px 0 22px;
}
.welcome-copy .tagline {
  font-family: Georgia, serif;
  font-size: 20px !important;
  font-style: italic;
}
.welcome-footer {
  font-size: 11px;
  line-height: 1.8;
  color: #9b917b;
  position: relative;
  z-index: 1;
  margin: 0;
}
.entry {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 35px;
}
.entry-inner {
  width: 100%;
  max-width: 350px;
}
.beta-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  background: #f3ecd1;
  border: 1px solid #e8dec0;
  color: #897549;
  border-radius: 5px;
  padding: 6px 8px;
  display: inline-block;
}
h2 {
  font-size: 38px;
  letter-spacing: -0.9px;
  margin: 24px 0 12px;
}
.intro {
  font-size: 14px;
  line-height: 1.6;
  color: #8a8270;
  margin: 0 0 31px;
}
.field {
  display: block;
  font-size: 12px;
  color: #5c5749;
  font-weight: 600;
  margin-bottom: 9px;
}
input[type='text'],
input[type='password'] {
  display: block;
  width: 100%;
  height: 47px;
  border: 1px solid #dcd5c4;
  background: #fffdf8;
  border-radius: 8px;
  padding: 11px 13px;
  color: #2a2620;
  font-size: 15px;
}
input:focus-visible {
  outline-offset: 1px;
}
.password-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 23px;
}
.password-label .field {
  margin-bottom: 9px;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: #7c6413;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.password-label button {
  margin-bottom: 9px;
  text-decoration: none;
}
.remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 19px 0 27px;
  font-size: 12px;
  color: #8a8270;
  line-height: 1.5;
}
.remember input {
  accent-color: #9b7d23;
  width: 15px;
  height: 15px;
  margin: 0;
  flex-shrink: 0;
}
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.primary {
  background: #e2bc40;
  border-color: #d7b13d;
  color: #292929;
}
.primary:hover:not(:disabled) {
  background: #dcb538;
}
.primary span {
  font-size: 19px;
  font-weight: 400;
}
.secondary {
  background: transparent;
  border-color: #ded7c6;
  color: #71684f;
  margin-top: 12px;
}
.secondary:hover:not(:disabled) {
  background: #f0ebdf;
}
.forgot {
  display: block;
  margin: 21px auto 0;
  font-size: 12px;
}
.help {
  font-size: 12px;
  color: #81775f;
  line-height: 1.7;
  background: #f4efe0;
  border: 1px solid #e6ddc6;
  padding: 13px 15px;
  border-radius: 8px;
  margin-top: 15px;
}
.entry-footer {
  text-align: center;
  font-size: 10px;
  line-height: 1.8;
  color: #a49a84;
  margin: 39px 0 0;
}
.notice {
  color: #8d4f3a;
  background: #fff0e8;
  border: 1px solid #ebd5c4;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.65;
  padding: 13px 15px;
  margin: 0 0 23px;
}
.loading {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  color: #8a8270;
  padding: 22px 0;
}
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #e7dcc1;
  border-top-color: #a28b35;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.account-name {
  font:
    24px Georgia,
    serif;
  margin: 0 0 9px;
  color: #5c5749;
  overflow-wrap: anywhere;
}
.account-note {
  font-size: 13px;
  color: #8a8270;
  margin: 0 0 28px;
  line-height: 1.7;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 760px) {
  .page {
    grid-template-columns: 1fr;
  }
  .welcome {
    min-height: auto;
    padding: 25px 28px 31px;
  }
  .welcome-copy {
    padding: 30px 0 0;
    max-width: none;
  }
  .welcome-copy .eyebrow,
  .welcome-copy .rule,
  .welcome-copy .tagline,
  .welcome-footer,
  .welcome:after {
    display: none;
  }
  h1 {
    font-size: 37px;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .welcome-copy > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    max-width: 400px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 39px;
    height: 39px;
  }
  .entry {
    padding: 33px 26px 40px;
  }
  .entry-inner {
    max-width: 400px;
  }
  h2 {
    font-size: 32px;
    margin-top: 20px;
  }
  .intro {
    margin-bottom: 24px;
  }
  .entry-footer {
    margin-top: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}
