@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/Archivo-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.auth {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.7fr);
  background: #0c1220;
  color: #f8f9fb;
}

.auth-status,
.auth-form {
  padding: clamp(30px, 6vw, 86px);
}

.auth-status {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #343b4b;
}

.auth-form {
  display: grid;
  place-items: center;
  background: #f8f9fb;
  color: #0c1220;
}

.auth-form form {
  display: grid;
  width: min(100%, 420px);
  gap: 18px;
}

.teams-lockup {
  display: grid;
  width: 100px;
  flex: 0 0 auto;
  gap: 4px;
}

.teams-lockup > span {
  display: flex;
  justify-content: space-between;
  line-height: 1;
}

.teams-lockup i {
  font-style: normal;
}

.teams-word {
  color: #eef1f6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
}

.teams-capital {
  color: #c9a24a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.auth-v2 {
  --auth-accent: #c9a24a;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.72fr);
  font-family: Archivo, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0c1220;
}

.auth-v2[data-face="dealer"] {
  --auth-accent: #a10b0b;
  background: #191919;
}

.auth-v2 .auth-status {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(34px, 5vw, 72px);
  border-right: 1px solid rgb(238 241 246 / 0.15);
  background: radial-gradient(700px 460px at 20% 35%, rgb(201 162 74 / 0.09), transparent 62%);
}

.auth-v2[data-face="dealer"] .auth-status {
  background: radial-gradient(700px 460px at 18% 36%, rgb(159 6 7 / 0.22), transparent 62%);
}

.auth-v2 .auth-status::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(238 241 246 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(238 241 246 / 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
}

.auth-v2 .auth-status > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.auth-environment {
  padding: 8px 13px;
  border: 1px solid rgb(238 241 246 / 0.2);
  border-radius: 99px;
  color: #8d94a5;
  font: 9px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.auth-hero {
  align-self: center;
  display: grid;
  max-width: 760px;
  gap: 18px;
  padding: 52px 0;
}

.auth-hero > p {
  margin: 0;
  color: var(--auth-accent);
  font: 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.auth-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #eef1f6;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.auth-v2[data-face="dealer"] .auth-hero h1 {
  max-width: 15ch;
  font-family: Archivo, Inter, ui-sans-serif, sans-serif;
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.03;
}

.auth-hero > span {
  max-width: 58ch;
  color: #9da6b5;
  font-size: 14px;
  line-height: 1.75;
}

.auth-hero dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 16px 0 0;
  border-block: 1px solid rgb(238 241 246 / 0.14);
}

.auth-hero dl div {
  display: grid;
  gap: 6px;
  padding: 16px 18px 16px 0;
  border-right: 1px solid rgb(238 241 246 / 0.14);
}

.auth-hero dl div + div {
  padding-left: 18px;
}

.auth-hero dl div:last-child {
  border-right: 0;
}

.auth-hero dt {
  color: #7f8999;
  font: 8px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.auth-hero dd {
  margin: 0;
  color: #eef1f6;
  font-size: 11px;
  font-weight: 600;
}

.auth-v2 .auth-status > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgb(238 241 246 / 0.14);
}

.auth-v2 .auth-status > footer > span:first-child {
  color: #8d94a5;
  font: 8px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-v2 .auth-form {
  position: relative;
  padding: clamp(36px, 5vw, 76px);
  background: #f4f5f7;
  color: #131a28;
}

.auth-v2[data-face="dealer"] .auth-form {
  background: #f7f7f7;
}

.auth-v2 .auth-form form {
  width: min(100%, 390px);
  gap: 17px;
}

.auth-form-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.auth-form-brand > span {
  color: #6d7583;
  font: 8px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.auth-form-title {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
}

.auth-form-title .kicker {
  margin: 0;
  color: var(--auth-accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.auth-v2 .auth-form h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.auth-v2[data-face="dealer"] .auth-form h2 {
  font-family: Archivo, Inter, ui-sans-serif, sans-serif;
  font-size: 34px;
  font-weight: 600;
}

.auth-form-title > span {
  color: #667085;
  font-size: 11px;
  line-height: 1.5;
}

.auth.auth-v2[data-face="dealer"],
.auth.auth-v2[data-face="dealer"] .auth-status,
.auth.auth-v2[data-face="platform"] .auth-status {
  background: #f4f5f7;
  color: #071934;
}

.auth.auth-v2[data-face="partner"] {
  --auth-accent: #0d73f6;
  background: #edf4ff;
}

.auth.auth-v2[data-face="partner"] .auth-status {
  background: #f4f5f7;
  color: #071934;
}

.auth.auth-v2[data-face="partner"] .auth-form {
  background: #071934;
  color: #f4f7fb;
}

.auth.auth-v2[data-face="platform"] .auth-status::before,
.auth.auth-v2[data-face="dealer"] .auth-status::before,
.auth.auth-v2[data-face="partner"] .auth-status::before {
  background-image:
    linear-gradient(rgb(7 25 52 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 25 52 / 0.045) 1px, transparent 1px);
}

.auth-v2[data-face="platform"] .auth-hero > span,
.auth-v2[data-face="dealer"] .auth-hero > span,
.auth-v2[data-face="partner"] .auth-hero > span,
.auth-v2[data-face="platform"] .auth-hero dt,
.auth-v2[data-face="dealer"] .auth-hero dt,
.auth-v2[data-face="partner"] .auth-hero dt {
  color: #53647c;
}

.auth-v2[data-face="platform"] .auth-hero dl,
.auth-v2[data-face="platform"] .auth-hero dl div,
.auth-v2[data-face="dealer"] .auth-hero dl,
.auth-v2[data-face="dealer"] .auth-hero dl div,
.auth-v2[data-face="partner"] .auth-hero dl,
.auth-v2[data-face="partner"] .auth-hero dl div {
  border-color: rgb(7 25 52 / 0.18);
}

.auth-v2[data-face="platform"] .auth-hero dd,
.auth-v2[data-face="dealer"] .auth-hero dd,
.auth-v2[data-face="partner"] .auth-hero dd {
  color: #071934;
}

.auth.auth-v2[data-face="platform"] .auth-form {
  background: #0c1220;
  color: #f4f7fb;
}

.auth.auth-v2[data-face="dealer"] .auth-form {
  background: radial-gradient(520px 320px at 12% 8%, rgb(161 11 11 / 0.2), transparent 62%), #181415;
  color: #f7f7f7;
}

.partner-positioning,
.teams-positioning {
  display: block;
  margin-bottom: 8px;
  color: #071934;
  font-family: Archivo, Inter, ui-sans-serif, sans-serif;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.auth-logo-heading {
  max-width: none !important;
  margin: 0;
  line-height: 1;
}

.auth-large-brand,
.auth-login-logo {
  display: block;
}

.auth-login-logo-teams,
.auth-login-logo-partner {
  width: clamp(420px, 42vw, 640px);
  max-width: 100%;
  height: clamp(150px, 15.3vw, 220px);
}

.auth-login-logo-teams {
  align-content: center;
  gap: clamp(10px, 1vw, 16px);
}

.auth-login-logo-partner {
  object-fit: contain;
  object-position: left center;
}

.auth-v2 .auth-large-brand .teams-lockup {
  width: clamp(420px, 42vw, 640px);
  gap: clamp(10px, 1vw, 16px);
}

.auth-v2 .auth-large-brand .teams-word {
  color: #131a28;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(84px, 8.8vw, 126px);
  font-weight: 500;
}

.auth-v2 .auth-large-brand .teams-capital {
  color: #c9a24a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.dealer-brand-mark,
.auth-form-brand .dealer-brand-mark {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
}

.dealer-brand-mark img {
  display: block;
  max-height: 44px;
  background: transparent;
  object-fit: contain;
}

.auth-form-brand .dealer-brand-mark img {
  width: 184px;
  max-height: 60px;
}

.auth-v2[data-face="dealer"] .auth-form-brand .dealer-brand-mark img {
  filter: url("#dnm-white-wordmark-filter");
}

.auth-form-context {
  min-height: 48px;
  justify-content: flex-start;
  border-bottom: 1px solid #d9dce2;
}

.auth-form-context strong {
  color: #3c4656;
  font: 600 10px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.auth-v2[data-face="partner"] .auth-form-brand,
.auth-v2[data-face="platform"] .auth-form-brand,
.auth-v2[data-face="dealer"] .auth-form-brand {
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.auth-v2[data-face="platform"] .auth-form-context strong,
.auth-v2[data-face="dealer"] .auth-form-brand > span,
.auth-v2[data-face="partner"] .auth-form-context strong,
.auth-v2[data-face="platform"] .auth-form-title > span,
.auth-v2[data-face="dealer"] .auth-form-title > span,
.auth-v2[data-face="partner"] .auth-form-title > span {
  color: #b8c2d1;
}

.auth-v2 .auth-status > footer {
  justify-content: flex-start;
  gap: 12px;
  border-color: rgb(7 25 52 / 0.18);
}

.auth-v2 .auth-platform-signature > span:first-child {
  color: #53647c;
}

.smartarc-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9c978d;
}

.smartarc-lockup svg {
  width: 30px;
  height: 30px;
}

.smartarc-lockup > span {
  display: flex;
  align-items: baseline;
  color: #071934;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.smartarc-lockup i,
.smartarc-lockup b {
  font-style: normal;
}

.smartarc-lockup i {
  font-weight: 300;
}

.smartarc-lockup b {
  color: #9c978d;
  font-weight: 500;
}

.smartarc-lockup svg rect:first-of-type {
  fill: #071934;
}

.auth-v2 .auth-error {
  margin: 0;
  color: #f0c8c2;
  font-size: 11px;
  line-height: 1.5;
}

.auth-v2 .auth-form .google-signin-button {
  width: min(225px, 100%);
  min-height: 50px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

.auth-v2 .google-signin-button img {
  display: block;
  width: 100%;
  height: auto;
}

.auth-v2 .auth-license {
  display: grid;
  gap: 4px;
  color: #aab7ca;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  line-height: 1.5;
}

.auth-v2 .auth-license[hidden],
.auth-login-logo[hidden],
.dealer-brand-mark[hidden],
#auth-dealer-label[hidden],
#auth-context-label[hidden],
.auth-runtime-brand {
  display: none;
}

.auth-v2 .auth-license p {
  margin: 0;
}

.auth-filter-defs {
  position: absolute;
}

.auth-skip-link {
  position: fixed;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #0c1220;
  background: #c9a24a;
  font-weight: 800;
  transform: translateY(-150%);
}

.auth-skip-link:focus {
  transform: none;
}

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

  .auth-v2 .auth-status {
    min-height: 54vh;
    padding: 30px;
  }

  .auth-hero {
    padding: 54px 0 38px;
  }

  .auth-v2 .auth-status > footer {
    display: none;
  }

  .auth-v2 .auth-form {
    min-height: 46vh;
    padding: 38px 28px;
  }

  .auth-form-brand {
    margin-bottom: 30px;
  }
}

@media (max-width: 620px) {
  .auth-v2 .auth-status {
    min-height: 48vh;
    padding: 24px 20px;
  }

  .auth-environment {
    display: none;
  }

  .auth-hero {
    gap: 13px;
    padding: 42px 0 20px;
  }

  .auth-hero > span {
    font-size: 11px;
    line-height: 1.6;
  }

  .auth-hero dl {
    grid-template-columns: 1fr;
  }

  .auth-hero dl div,
  .auth-hero dl div + div {
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid rgb(238 241 246 / 0.12);
  }

  .auth-hero dl div:last-child {
    border-bottom: 0;
  }

  .auth-v2 .auth-form {
    padding: 30px 20px;
  }

  .auth-form-brand {
    margin-bottom: 22px;
  }

  .auth-form-brand > span {
    display: none;
  }

  .auth-v2 .auth-form h2,
  .auth-v2[data-face="dealer"] .auth-form h2 {
    font-size: 31px;
  }

  .auth-login-logo-teams,
  .auth-login-logo-partner,
  .auth-v2 .auth-large-brand .teams-lockup {
    width: 100%;
  }

  .auth-v2 .auth-large-brand .teams-word {
    font-size: clamp(66px, 20vw, 78px);
  }

  .auth-v2 .auth-large-brand .teams-capital {
    font-size: clamp(30px, 9vw, 35px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-skip-link {
    transition: none;
  }
}
