.auth-v2 {
  --auth-ink: #163426;
  --auth-forest: #103b27;
  --auth-green: #26734b;
  --auth-mint: #c6e68d;
  --auth-paper: #f7f8f3;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(440px, .85fr);
  padding: 0;
  background: var(--auth-paper);
}

.auth-showcase {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 34px clamp(34px, 5vw, 76px) 28px;
  color: #fff;
  background:
    radial-gradient(circle at 83% 16%, rgba(183, 225, 133, .17), transparent 26%),
    radial-gradient(circle at 15% 88%, rgba(72, 145, 99, .27), transparent 30%),
    linear-gradient(145deg, #0c3020 0%, #15462f 52%, #103a27 100%);
}

.auth-showcase::before,
.auth-showcase::after {
  content: '';
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 50%;
}

.auth-showcase::before {
  width: 540px;
  height: 540px;
  right: -285px;
  top: 10%;
}

.auth-showcase::after {
  width: 390px;
  height: 390px;
  right: -178px;
  top: calc(10% + 75px);
}

.auth-showcase-head,
.auth-showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.auth-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  overflow: hidden;
  border-radius: 14px;
  background: #14a15f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 10px 30px rgba(0, 0, 0, .13);
}

.auth-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.auth-brand strong {
  font: 800 15px Manrope, sans-serif;
  letter-spacing: -.25px;
}

.auth-brand small {
  color: rgba(225, 239, 228, .62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.auth-back-link {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(238, 246, 239, .78);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.auth-back-link:hover,
.auth-back-link:focus-visible {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.auth-showcase-copy {
  width: min(680px, 100%);
  margin: auto 0 28px;
  padding-top: clamp(40px, 8vh, 105px);
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(225, 239, 228, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.auth-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--auth-mint);
  box-shadow: 0 0 0 5px rgba(198, 230, 141, .1);
}

.auth-showcase-copy h1 {
  max-width: 690px;
  margin: 22px 0 18px;
  font: 800 clamp(42px, 5vw, 68px)/1.05 Manrope, sans-serif;
  letter-spacing: clamp(-3.4px, -.05em, -1.8px);
}

.auth-showcase-copy h1 em {
  color: var(--auth-mint);
  font-style: normal;
}

.auth-showcase-copy > p {
  max-width: 575px;
  margin: 0;
  color: rgba(226, 239, 228, .72);
  font-size: 15px;
  line-height: 1.72;
}

.auth-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.auth-capabilities article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 14px 13px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(8px);
}

.auth-capabilities article > span {
  color: var(--auth-mint);
  font: 800 9px Manrope, sans-serif;
}

.auth-capabilities article div {
  display: grid;
  gap: 5px;
}

.auth-capabilities strong {
  color: #f8fbf8;
  font-size: 10px;
  line-height: 1.35;
}

.auth-capabilities small {
  color: rgba(222, 237, 224, .55);
  font-size: 9px;
  line-height: 1.45;
}

.auth-workspace-preview {
  width: min(610px, 91%);
  margin-bottom: 24px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(6, 31, 19, .3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 11px;
  color: rgba(231, 241, 232, .68);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.preview-top span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.preview-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #77c58c;
}

.preview-top b {
  font-weight: 600;
}

.preview-grid {
  display: grid;
  grid-template-columns: .72fr .72fr 1.56fr;
  gap: 8px;
}

.preview-metric,
.preview-chart {
  min-height: 90px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .085);
}

.preview-metric {
  display: grid;
  align-content: center;
  gap: 3px;
}

.preview-metric small {
  color: rgba(229, 240, 230, .55);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .8px;
}

.preview-metric strong {
  font: 800 25px Manrope, sans-serif;
}

.preview-metric span {
  color: rgba(229, 240, 230, .5);
  font-size: 7px;
}

.preview-metric-accent strong {
  color: #f0cc85;
}

.preview-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 7px;
  padding-top: 18px;
}

.preview-chart span {
  width: 9%;
  min-height: 10px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(to top, rgba(198, 230, 141, .28), #c6e68d);
  animation: auth-bars 1s cubic-bezier(.22, .8, .3, 1) both;
  transform-origin: bottom;
}

.preview-chart span:nth-child(2) { animation-delay: .05s; }
.preview-chart span:nth-child(3) { animation-delay: .1s; }
.preview-chart span:nth-child(4) { animation-delay: .15s; }
.preview-chart span:nth-child(5) { animation-delay: .2s; }
.preview-chart span:nth-child(6) { animation-delay: .25s; }
.preview-chart span:nth-child(7) { animation-delay: .3s; }

@keyframes auth-bars {
  from { opacity: 0; transform: scaleY(.2); }
  to { opacity: 1; transform: scaleY(1); }
}

.auth-showcase-foot {
  color: rgba(226, 239, 228, .46);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.auth-access-panel {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 34px clamp(28px, 5vw, 76px);
  background:
    radial-gradient(circle at 85% 10%, rgba(45, 126, 75, .06), transparent 26%),
    #f7f8f3;
}

.auth-access-wrap {
  width: min(430px, 100%);
}

.auth-mobile-brand {
  display: none;
}

.login-card-v2 {
  width: 100%;
  padding: 0;
}

.auth-form-head {
  margin-bottom: 29px;
}

.auth-form-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #dfe8dd;
  border-radius: 999px;
  color: #4d775c;
  background: #eff5ed;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.login-card-v2 .auth-form-head h2 {
  margin: 19px 0 8px;
  color: var(--auth-ink);
  font: 800 34px/1.12 Manrope, sans-serif;
  letter-spacing: -1.3px;
}

.auth-form-head p {
  margin: 0;
  color: #79877e;
  font-size: 13px;
  line-height: 1.55;
}

.auth-field {
  margin-bottom: 16px;
}

.login-card-v2 .auth-field label {
  margin: 0 0 7px;
  color: #31483a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15px;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.auth-label-row button {
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  color: #397552;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > svg {
  position: absolute;
  left: 15px;
  z-index: 1;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #849088;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.login-card-v2 .auth-input-wrap input {
  height: 54px;
  padding: 0 46px;
  border: 1px solid #dfe5dd;
  border-radius: 13px;
  color: #203b2d;
  background: #fff;
  box-shadow: 0 4px 14px rgba(25, 60, 39, .025);
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.login-card-v2 .auth-input-wrap input::placeholder {
  color: #a6afa8;
}

.login-card-v2 .auth-input-wrap input:focus {
  border-color: #5b9470;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(61, 128, 82, .09), 0 8px 20px rgba(25, 60, 39, .05);
}

.password-toggle {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #849088;
  background: transparent;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #2f704b;
  background: #f0f5ef;
}

.password-toggle svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.auth-error-v2 {
  min-height: 17px;
  margin: 3px 0 7px;
  color: #a5443d;
  font-size: 10px;
  line-height: 1.45;
}

.auth-submit,
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 53px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.auth-submit {
  justify-content: space-between;
  padding: 0 18px 0 21px;
  border: 1px solid #153f2b;
  color: #fff;
  background: linear-gradient(135deg, #1a5336, #246d47);
  box-shadow: 0 11px 25px rgba(24, 76, 48, .17);
}

.auth-submit b {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .11);
  font-size: 15px;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(24, 76, 48, .23);
}

.auth-submit:disabled,
.auth-google:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 19px 0 13px;
  color: #9ca69f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e7e1;
}

.auth-google {
  gap: 10px;
  border: 1px solid #dfe5dd;
  color: #314238;
  background: #fff;
}

.auth-google:hover,
.auth-google:focus-visible {
  border-color: #b8caba;
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(25, 60, 39, .07);
}

.auth-google .google-g {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #4285f4;
  background: #f5f8ff;
  font-size: 13px;
}

.auth-access-note {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  margin-top: 23px;
  padding: 13px 14px;
  border: 1px solid #e2e8df;
  border-radius: 13px;
  background: rgba(255, 255, 255, .55);
}

.auth-access-note svg {
  width: 22px;
  fill: none;
  stroke: #4c815e;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-access-note p {
  margin: 0;
  color: #77847c;
  font-size: 9px;
  line-height: 1.55;
}

.auth-access-note strong {
  color: #425849;
}

.auth-legal {
  max-width: 390px;
  margin: 18px auto 0;
  color: #a0a8a2;
  font-size: 8px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 1080px) {
  .auth-v2 {
    grid-template-columns: 1fr 460px;
  }

  .auth-showcase {
    padding-inline: 38px;
  }

  .auth-showcase-copy h1 {
    font-size: 48px;
  }

  .auth-capabilities {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .auth-capabilities article {
    padding: 10px 12px;
  }

  .auth-capabilities small {
    display: none;
  }
}

@media (max-width: 820px) {
  .auth-v2 {
    display: block;
    min-height: 100svh;
    background: #f7f8f3;
  }

  .auth-showcase {
    min-height: auto;
    padding: 22px 24px 70px;
    border-radius: 0 0 30px 30px;
  }

  .auth-showcase-copy {
    margin: 46px 0 0;
    padding: 0;
  }

  .auth-showcase-copy h1 {
    margin: 16px 0 12px;
    font-size: clamp(35px, 9vw, 48px);
    letter-spacing: -2px;
  }

  .auth-showcase-copy > p {
    max-width: 520px;
    font-size: 13px;
  }

  .auth-capabilities,
  .auth-workspace-preview,
  .auth-showcase-foot {
    display: none;
  }

  .auth-access-panel {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: -38px;
    padding: 0 18px 34px;
    background: transparent;
  }

  .auth-access-wrap {
    width: min(500px, 100%);
    margin: 0 auto;
    padding: 25px 22px 20px;
    border: 1px solid #e0e6de;
    border-radius: 22px;
    background: #f9faf6;
    box-shadow: 0 18px 45px rgba(20, 57, 35, .12);
  }
}

@media (max-width: 480px) {
  .auth-showcase {
    padding-inline: 19px;
  }

  .auth-back-link {
    padding: 8px 10px;
    font-size: 8px;
  }

  .auth-brand strong {
    font-size: 13px;
  }

  .auth-brand small {
    font-size: 7px;
  }

  .auth-showcase-copy h1 {
    font-size: 34px;
  }

  .auth-kicker {
    font-size: 8px;
  }

  .auth-access-panel {
    padding-inline: 11px;
  }

  .auth-access-wrap {
    padding: 23px 17px 18px;
  }

  .login-card-v2 .auth-form-head h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-chart span,
  .auth-submit,
  .auth-google,
  .auth-back-link {
    animation: none;
    transition: none;
  }
}
