.auth-page {
  background: #090d0d
}

.auth-visual {
  position: fixed;
  inset: 0 auto 0 0;
  width: 52%;
  color: #fff
}

.auth-image,.auth-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.auth-image {
  object-fit: cover;
  object-position: 52% center
}

.auth-shade {
  background: rgb(4 15 10 / 53%)
}

.auth-brand {
  position: absolute;
  top: 40px;
  left: 44px
}

.auth-brand img {
  width: 180px;
  height: auto;
  filter: none
}

.auth-story {
  position: absolute;
  left: 44px;
  right: 48px;
  bottom: 56px;
  max-width: 480px;
  text-shadow: 0 2px 18px #0004
}

.auth-eyebrow {
  margin-bottom: 18px;
  color: #a5eed2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em
}

.auth-story h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(36px,3.6vw,54px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -.05em
}

.auth-story>p:last-child {
  margin: 0;
  color: #e1eae5;
  font-size: 14px;
  line-height: 1.7
}

.auth-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  margin-left: 50%;
  padding: 40px clamp(24px,3.8vw,64px);
  border-left: 1px solid #ffffff12;
  border-radius: 30px 0 0 30px;
  background: #090d0d
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 40px 34px;
  border: 1px solid #86b59c40;
  border-radius: 26px;
  background: #14241bb3;
  box-shadow: 0 20px 80px #0004,0 0 80px #29cca408;
  backdrop-filter: blur(24px)
}

.auth-card>.overline {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: .17em
}

.auth-card h1 {
  margin: 0 0 18px;
  font-size: clamp(34px,3vw,44px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -.05em
}

.auth-intro {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75
}

.google-signin {
  color-scheme: light;
  display: flex;
  justify-content: center;
  min-height: 44px
}

.google-unavailable {
  width: 240px;
  min-height: 44px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  cursor: not-allowed;
  opacity: .7
}

.auth-google-status {
  min-height: 0;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center
}

.auth-google-status:empty {
  display: none
}

.auth-google-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center
}

.auth-card .form-error {
  font-size: 12px;
  line-height: 1.6
}

.google-retry {
  display: block;
  margin: 16px auto 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--green);
  padding: 5px 0;
  font-size: 12px
}

.auth-footnote {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center
}

.auth-footnote a {
  text-decoration: none
}

.auth-footnote a:hover {
  color: var(--lime)
}

@media(max-width:900px) {
  .auth-visual {
    width: 100%
  }
  .auth-image {
    object-position: 54% center
  }
  .auth-shade {
    background: #04110d7a
  }
  .auth-brand {
    top: 28px;
    left: 28px
  }
  .auth-brand img {
    width: 170px
  }
  .auth-story {
    display: none
  }
  .auth-main {
    min-height: 100svh;
    margin: 0;
    padding: 115px 24px 40px;
    border: 0;
    border-radius: 0;
    background: transparent
  }
  .auth-card {
    background: #0c1b14d9;
    border-color: #ffffff45
  }
}

@media(max-width:480px) {
  .auth-brand {
    top: 26px;
    left: 24px
  }
  .auth-brand img {
    width: 160px
  }
  .auth-main {
    padding: 108px 20px 32px
  }
  .auth-card {
    padding: 32px 24px;
    border-radius: 24px
  }
  .auth-card h1 {
    font-size: 36px
  }
  .auth-intro {
    font-size: 13px
  }
  .auth-google-note {
    font-size: 10px
  }
}

@media(max-width:360px) {
  .auth-main {
    padding-inline: 14px
  }
  .auth-card {
    padding-inline: 18px
  }
  .auth-card h1 {
    font-size: 32px
  }
}
