@font-face {
  font-family: "Bounded Site";
  src: url("/fonts/bounded-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bounded Site";
  src: url("/fonts/bounded-black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

.app-shell .auth-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  max-width: 1500px;
  padding-block: clamp(20px, 4vw, 60px);
  font-family: "Bounded Site", sans-serif;
}

.app-shell .auth-entry :is(p, label, button, input, select, a, legend, small, .eyebrow) {
  font-family: "Bounded Site", sans-serif;
  font-weight: 400;
}

.app-shell .auth-entry .auth-story h1,
.app-shell .auth-entry .auth-card h2 {
  max-width: none;
  font-family: "Bounded Site", sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.07;
  text-wrap: balance;
}

.app-shell .auth-entry .auth-story h1 { font-size: clamp(28px, 4.3vw, 65px); }
.app-shell .auth-entry .auth-card h2 { font-size: clamp(23px, 2.65vw, 37px); }

.auth-entry .auth-entry-art {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1.37;
  overflow: hidden;
  margin: 0 auto -22px;
  mask-image: linear-gradient(black 72%, transparent 100%);
  pointer-events: none;
}

.auth-entry-art img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  max-width: none;
  transform: translateY(-10.6%);
}

.app-shell .auth-entry .auth-card {
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 3vw, 44px);
  border-radius: clamp(24px, 3vw, 42px);
}

.app-shell .auth-entry .auth-card-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.auth-entry .auth-entry-privacy { margin: 12px 0; text-align: center; font-size: 11px; }
.auth-entry .auth-entry-privacy a { text-underline-offset: 3px; }
.auth-entry .auth-mobile-benefits, .auth-entry .auth-footer { display: none; }

@media (max-width: 700px) {
  .app-shell .auth-entry { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .app-shell .auth-entry .auth-story h1 { margin-bottom: 7px; font-size: clamp(25px, 8vw, 39px); }
  .auth-entry .auth-entry-art { max-width: 440px; margin-bottom: -10px; }
  .app-shell .auth-entry .auth-card { padding: 14px 0 24px; background: transparent; border: 0; box-shadow: none; }
  .app-shell .auth-entry .auth-card .auth-card-logo,
  .app-shell .auth-entry .auth-card--entry .auth-card-heading,
  .app-shell .auth-entry .auth-mobile-benefits,
  .app-shell .auth-entry .auth-description { display: none; }
  .app-shell .auth-entry .auth-card:not(.auth-card--registration) #auth-title { font-size: 19px; }
}

:root[data-theme="dark"] .auth-entry-art {
  mask-image: radial-gradient(ellipse at 57% 49%, #000 39%, transparent 77%);
}

@media (min-width: 701px) {
  .app-shell .auth-entry { padding-top: 0; gap: clamp(28px, 4vw, 72px); }
  .auth-entry .auth-entry-art {
    width: 100%;
    aspect-ratio: 1.56;
    margin-bottom: -3%;
    mask-image: linear-gradient(black 84%, transparent);
  }
  .auth-entry-art img {
    width: 229.67%;
    transform: translate(-4.55%, -10%);
  }
  .app-shell .auth-entry .auth-story h1 {
    max-width: 9.1em;
    text-wrap: initial;
    font-size: clamp(33px, 4.6vw, 76px);
  }
  .auth-entry .auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .auth-entry .auth-benefits > div { display: flex; align-items: center; gap: 10px; }
  .auth-entry .auth-benefits p { margin: 0; font-size: clamp(11px, 1.2vw, 17px); }
}

.app-shell .auth-entry .auth-card { text-align: center; }
.app-shell .auth-entry .auth-card .auth-description { margin: 12px 0 22px; }
.app-shell .auth-entry .email-login-form:has(#login-email) { position: relative; gap: 14px; }
.app-shell .auth-entry .auth-entry-email { position: absolute; top: 17px; left: 21px; pointer-events: none; }
.app-shell .auth-entry #login-email { min-height: 55px; border-radius: 999px; padding-inline: 56px 20px; }
.app-shell .auth-entry .email-login-form:has(#login-email) .primary-button {
  position: relative;
  justify-content: center;
  min-height: 55px;
  border-radius: 999px;
  padding-inline: 42px;
}
.auth-entry .email-login-form:has(#login-email) .primary-button svg { position: absolute; right: 20px; }
.auth-entry .auth-entry-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0;
  font-size: 12px;
}
.auth-entry-divider::before, .auth-entry-divider::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: .2; }
.app-shell .auth-entry .auth-entry-switch { width: 100%; min-height: 55px; border-radius: 999px; justify-content: center; }

@media (max-width: 700px) {
  .auth-entry-art img { width: 100%; transform: translateY(-10.6%); }
}

@media (min-width: 701px) {
  .app-shell .auth-entry .auth-story { align-self: start; }
  .app-shell .auth-entry .auth-story h1 { display: none; }
  .app-shell .auth-entry .auth-story .auth-lead { margin: 0 0 20px; }
  .app-shell .auth-entry .auth-benefits { margin: 0; }
}

@media (min-width: 701px) {
  .app-shell .auth-entry .auth-entry-art {
    margin-bottom: 6px;
    mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent),
      linear-gradient(transparent, #000 5%, #000 76%, transparent);
    mask-composite: intersect;
  }

  .app-shell .auth-entry .auth-story .auth-lead {
    color: var(--ink, #101010);
    font-weight: 900 !important;
    line-height: 1.24;
    text-wrap: balance;
  }

  .app-shell .auth-entry .auth-card-logo { margin-bottom: 0; }
  .app-shell .auth-entry .auth-card-logo .auth-brand-symbol {
    width: 120px;
    height: 120px;
  }
}

.app-shell .auth-entry .auth-entry-privacy { line-height: 1.5; }
.app-shell .auth-entry .auth-entry-privacy a { color: inherit; }
:root[data-theme="dark"] .app-shell .auth-entry .auth-story .auth-lead { color: #f5f5f2; }
