@font-face {
  font-family: Geist;
  src: url("/assets/fonts/Geist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/assets/fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fbfaf6;
  color: #282d28;
  font-family: Geist, system-ui, sans-serif;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid #718c55;
  outline-offset: 5px;
  border-radius: 8px;
}
.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
}
.login-story {
  padding: 42px 9% 28px;
  background: #e9eddf;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    600 26px Space,
    sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
}
.beta {
  font:
    550 10px Geist,
    sans-serif;
  letter-spacing: 1px;
  border: 1px solid #bac5a9;
  border-radius: 6px;
  padding: 5px 7px;
  margin-left: 7px;
}
.story-copy {
  margin-top: clamp(46px, 8vh, 100px);
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 20px;
  color: #606f50;
}
h1 {
  font:
    600 clamp(38px, 4vw, 64px)/1.06 Space,
    sans-serif;
  letter-spacing: -2.5px;
  margin: 20px 0;
}
h1 > span {
  color: #738363;
}
.story-copy p {
  font-size: 16px;
  line-height: 26px;
  max-width: 310px;
  color: #5b6851;
}
.login-art {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 320px;
  isolation: isolate;
}
.login-art > img {
  height: 300px;
  width: 300px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px #71815522);
  transform: rotate(-8deg);
}
.orbit {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid #b2be9d55;
  border-radius: 50%;
  box-shadow:
    0 0 0 28px #dce4cf88,
    0 0 0 56px #dce4cf55;
  z-index: -1;
}
.spark {
  position: absolute;
  right: 15%;
  top: 14%;
  color: #819665;
  font-size: 38px;
}
.art-note {
  position: absolute;
  bottom: 14px;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: #fffdf4e8;
  border: 1px solid #e2e5d5;
  border-radius: 18px;
  box-shadow: 0 10px 28px #4c623213;
  transform: rotate(-4deg);
  font-size: 12px;
  color: #657455;
}
.art-note > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #e7eddb;
  font-size: 22px;
}
.art-note strong {
  display: block;
  color: #36472c;
  margin-top: 4px;
  font-weight: 550;
}
.story-footer {
  color: #536447;
  font-size: 12px;
  margin: 38px 0 0;
}
.login-panel {
  padding: 70px 12% 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.login-form {
  width: 100%;
  max-width: 400px;
  margin: auto 0;
}
h2 {
  font:
    600 36px/1.13 Space,
    sans-serif;
  letter-spacing: -1.5px;
  margin: 16px 0;
}
.login-form > p {
  font-size: 14px;
  line-height: 23px;
  color: #656e5e;
}
.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  border: 1px solid #bec5b5;
  border-radius: 12px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  margin-top: 30px;
  box-shadow: 0 2px 3px #273e3605;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.google-button:hover {
  background: #f0f3e9;
  border-color: #8b9e79;
}
.login-form .login-permissions {
  font-size: 12px;
  line-height: 19px;
  color: #626d58;
  margin: 14px 8px 30px;
  text-align: center;
}
.invite-note {
  display: flex;
  align-items: start;
  gap: 14px;
  background: #f1f2e9;
  border: 1px solid #e2e6d7;
  border-radius: 18px;
  padding: 20px;
}
.invite-mark {
  font-size: 23px;
  color: #7c8b69;
}
.invite-note strong {
  font-size: 14px;
  font-weight: 550;
}
.invite-note p {
  font-size: 13px;
  line-height: 21px;
  color: #626d58;
  margin: 7px 0 12px;
}
.invite-note a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  font-size: 13px;
  font-weight: 550;
  color: #3b5838;
  text-decoration: none;
}
.login-form .login-legal {
  font-size: 12px;
  line-height: 19px;
  color: #68705f;
  margin-top: 24px;
}
.login-legal a {
  text-underline-offset: 3px;
}
.login-panel footer {
  font-size: 12px;
  color: #6a745f;
  margin-top: 40px;
}
#login-message {
  padding: 14px 16px;
  background: #fff0dc;
  border: 1px solid #eed4ad;
  color: #744719;
  border-radius: 12px;
  font-size: 13px;
  line-height: 21px;
  margin-top: 20px;
}
#google-login[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
}
@media (max-width: 800px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 24px 24px 46px;
    min-height: 370px;
  }
  .brand {
    font-size: 24px;
  }
  .story-copy {
    margin-top: 32px;
    max-width: 410px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -1.7px;
    margin: 12px 0;
  }
  .story-copy p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0;
    max-width: 210px;
  }
  .login-art {
    position: absolute;
    right: 8px;
    bottom: 0;
    min-height: 0;
    width: 130px;
    height: 130px;
  }
  .login-art > img {
    width: 140px;
    height: 140px;
  }
  .orbit {
    width: 120px;
    height: 120px;
    box-shadow: 0 0 0 14px #dce4cf88;
  }
  .spark {
    font-size: 20px;
    right: 12%;
    top: 0;
  }
  .art-note,
  .story-footer {
    display: none;
  }
  .login-panel {
    padding: 34px 24px 24px;
  }
  .login-form {
    max-width: 460px;
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .login-form > .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .google-button {
    margin-top: 24px;
  }
  .login-panel footer {
    margin-top: 28px;
  }
  .login-form .login-permissions {
    margin-bottom: 24px;
  }
}
@media (max-width: 359px) {
  .login-story {
    padding: 22px 20px 26px;
  }
  h1 {
    font-size: 35px;
  }
  .story-copy p {
    max-width: 180px;
  }
  .login-art {
    right: 0;
    width: 110px;
  }
  .login-art > img {
    width: 125px;
    height: 125px;
  }
  .login-panel {
    padding: 28px 20px;
  }
  .eyebrow {
    letter-spacing: 1px;
    font-size: 12px;
  }
}
