:root {
  --auth-ink: #0d2135;
  --auth-ink-2: #142b3f;
  --auth-copy: #52677a;
  --auth-muted: #758697;
  --auth-line: #dfe6eb;
  --auth-wash: #f4f6f7;
  --auth-panel: #ffffff;
  --auth-lime: #c9ff20;
  --auth-mint: #2ee6bc;
  --auth-error: #b83b42;
  --auth-error-wash: #fff3f2;
  --auth-success: #12765f;
  --auth-success-wash: #effcf7;
  --auth-frame: 1160px;
}

.auth-page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  margin: 0;
  overflow-x: clip;
  background: var(--auth-wash);
  color: var(--auth-ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.auth-page a {
  color: inherit;
}

.auth-nav,
.auth-main,
.auth-footer {
  width: min(var(--auth-frame), calc(100% - 40px));
  margin-inline: auto;
}

.auth-nav {
  min-height: 64px;
  padding: 0 24px;
  border-inline: 1px solid var(--auth-line);
  background: var(--auth-panel);
}

.auth-wordmark {
  min-height: 44px;
  gap: 8px;
  color: var(--auth-ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.auth-wordmark .brand-mark {
  width: 22px;
  height: 20px;
}

.auth-wordmark .brand-mark span {
  width: 9px;
  height: 16px;
  border-radius: 2px;
  background: var(--auth-ink);
}

.auth-wordmark .brand-mark span:nth-child(1) {
  left: 1px;
}

.auth-wordmark .brand-mark span:nth-child(2) {
  left: 7px;
}

.auth-wordmark .brand-mark span:nth-child(3) {
  right: 1px;
}

.auth-nav-action {
  min-height: 36px;
  gap: 14px;
  padding: 0 13px;
  border: 1px solid var(--auth-line);
  border-radius: 7px;
  background: var(--auth-panel);
  color: var(--auth-copy);
  font-size: 14px;
  font-weight: 500;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.auth-main {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--auth-line);
}

.auth-context,
.auth-form-panel {
  min-width: 0;
}

.auth-context {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  padding: clamp(48px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px),
    var(--auth-ink);
  background-size: 34px 34px;
  color: #ffffff;
}

.auth-context::after {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: -190px;
  top: -190px;
  border: 1px solid rgba(201, 255, 32, .28);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(201, 255, 32, .025),
    0 0 0 88px rgba(201, 255, 32, .018);
  content: "";
}

.auth-context-intro {
  position: relative;
  z-index: 1;
}

.auth-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #d7e2ea;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}

.auth-kicker::before {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background: var(--auth-lime);
  color: var(--auth-ink);
  content: "↗";
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.auth-context h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #ffffff;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
  overflow-wrap: normal;
}

.auth-context-copy {
  max-width: 31rem;
  margin: 24px 0 0;
  color: #bac7d1;
  font-size: 17px;
  line-height: 1.55;
}

.auth-marketing {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.auth-benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #d7e2ea;
  font-size: 13px;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-benefits li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--auth-lime);
  content: "";
}

.auth-proof {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: #f8fafb;
  color: var(--auth-ink);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .75);
}

.auth-proof > header,
.auth-proof > footer {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 15px;
  background: #ffffff;
}

.auth-proof > header {
  border-bottom: 1px solid var(--auth-line);
}

.auth-proof > header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--auth-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.auth-proof > header i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--auth-mint);
  box-shadow: 0 0 0 3px rgba(46, 230, 188, .15);
}

.auth-proof > header strong {
  font-size: 10px;
  font-weight: 500;
}

.auth-proof-body {
  padding: 14px;
}

.auth-proof-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--auth-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--auth-copy);
  font-size: 11px;
}

.auth-proof dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid var(--auth-line);
  border-radius: 6px;
  background: #ffffff;
}

.auth-proof dl div {
  min-width: 0;
  padding: 9px 10px;
  border-right: 1px solid var(--auth-line);
}

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

.auth-proof dt,
.auth-proof dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-proof dt {
  margin-bottom: 2px;
  color: var(--auth-muted);
  font-size: 8px;
}

.auth-proof dd {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
}

.auth-proof dd.is-warning {
  color: #9d5d00;
}

.auth-proof > footer {
  border-top: 1px solid var(--auth-line);
  font-size: 10px;
}

.auth-proof > footer span {
  color: var(--auth-muted);
}

.auth-proof > footer strong {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.auth-proof > footer b {
  color: var(--auth-success);
  font-size: 18px;
  font-weight: 400;
}

.auth-form-panel {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 78px);
  border: 0;
  border-radius: 0;
  background: var(--auth-panel);
  box-shadow: none;
}

.auth-form-panel > * {
  width: min(100%, 490px);
  margin-inline: auto;
}

.auth-form-heading {
  gap: 0;
  margin-bottom: 28px;
}

.auth-form-eyebrow {
  margin: 0 0 11px !important;
  color: var(--auth-copy) !important;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-form-heading h2,
.auth-success h2 {
  margin: 0;
  color: var(--auth-ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.auth-form-heading > p:last-child,
.auth-success p {
  margin-top: 11px;
  color: var(--auth-copy);
  font-size: 14px;
  line-height: 1.5;
}

.auth-form {
  gap: 16px;
}

.auth-field {
  gap: 6px;
}

.auth-field label,
.auth-label-row a {
  color: var(--auth-ink);
  font-size: 13px;
  font-weight: 500;
}

.auth-label-row a {
  color: var(--auth-copy);
}

.auth-field input {
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #c9d3db;
  border-radius: 7px;
  outline: 3px solid transparent;
  outline-offset: 0;
  background: #fbfcfc;
  color: var(--auth-ink);
  font: inherit;
  box-shadow: inset 0 1px 1px rgba(13, 33, 53, .025);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.auth-field input:focus-visible {
  border-color: var(--auth-ink);
  outline-color: rgba(13, 33, 53, .1);
  background: #ffffff;
  box-shadow: 0 0 0 1px var(--auth-ink);
}

.auth-field input[aria-invalid="true"] {
  border-color: var(--auth-error);
  background: var(--auth-error-wash);
}

.auth-field input[data-state="success"] {
  border-color: #70a899;
}

.auth-field-message {
  min-height: 1.35em;
  color: var(--auth-muted);
  font-size: 11px;
}

.auth-field-message.is-error,
.auth-form-status[data-state="error"] {
  color: var(--auth-error);
}

.auth-form-status {
  min-height: 0;
  margin: 0;
  color: var(--auth-copy);
  font-size: 13px;
}

.auth-form-status:empty {
  display: none;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid var(--auth-ink);
  border-radius: 7px;
  background: var(--auth-ink);
  color: #ffffff;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 120ms ease;
}

.auth-submit span {
  font-size: 17px;
}

.auth-submit[data-state="error"] {
  border-color: var(--auth-error);
  background: var(--auth-error);
}

.auth-form-assurance {
  margin: -4px 0 0;
  color: var(--auth-muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.auth-form-alternate {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--auth-line);
  color: var(--auth-copy);
  font-size: 12px;
}

.auth-form-alternate p {
  margin: 0;
}

.auth-form-alternate a,
.auth-success a {
  color: var(--auth-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.auth-notice,
.auth-success {
  border: 1px solid #7db5a5;
  border-radius: 7px;
  background: var(--auth-success-wash);
  color: var(--auth-ink);
}

.auth-notice {
  margin-bottom: 20px;
  padding: 13px 14px;
  font-size: 12px;
}

.auth-notice span {
  color: var(--auth-copy);
}

.auth-success {
  gap: 12px;
  padding: 22px;
}

.auth-success h2 {
  font-size: 28px;
}

.auth-success p {
  margin: 0;
}

.auth-token-missing {
  border-color: #dba9a9;
  background: var(--auth-error-wash);
}

.auth-form-signup {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-form-signup .auth-form-status,
.auth-form-signup .auth-submit,
.auth-form-signup .auth-form-assurance {
  grid-column: 1 / -1;
}

.auth-footer {
  min-height: 64px;
  padding: 0 24px;
  border: 0;
  border-inline: 1px solid var(--auth-line);
  background: var(--auth-wash);
  color: var(--auth-muted);
  font-size: 11px;
}

.auth-footer p span {
  margin-left: 8px;
  color: var(--auth-copy);
}

.auth-footer nav {
  gap: 20px;
}

.auth-footer a {
  min-height: 44px;
}

.auth-submit:focus-visible,
.auth-nav-action:focus-visible,
.auth-wordmark:focus-visible,
.auth-footer a:focus-visible,
.auth-form a:focus-visible,
.auth-success a:focus-visible {
  outline: 2px solid var(--auth-ink);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .auth-nav-action:hover {
    border-color: var(--auth-ink);
    background: var(--auth-ink);
    color: #ffffff;
    transform: none;
  }

  .auth-field input:hover {
    border-color: #9dadb9;
    background: #ffffff;
  }

  .auth-submit:hover {
    border-color: var(--auth-ink-2);
    background: var(--auth-ink-2);
    color: #ffffff;
    transform: translateY(-1px);
  }

  .auth-form a:hover,
  .auth-success a:hover,
  .auth-footer a:hover {
    color: #31566f;
  }
}

@media (max-width: 900px) {
  .auth-nav,
  .auth-main,
  .auth-footer {
    width: min(100% - 24px, var(--auth-frame));
  }

  .auth-main {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .auth-context {
    gap: 36px;
    padding: 52px 40px;
  }

  .auth-context h1 {
    max-width: 13ch;
  }

  .auth-marketing {
    grid-template-columns: minmax(180px, .65fr) minmax(300px, 1.35fr);
    align-items: end;
  }

  .auth-form-panel {
    padding: 56px 40px 64px;
  }
}

@media (max-width: 640px) {
  .auth-nav {
    min-height: 60px;
    padding-inline: 16px;
  }

  .auth-nav-action {
    min-height: 38px;
    padding-inline: 11px;
  }

  .auth-nav-action span {
    display: none;
  }

  .auth-context {
    gap: 32px;
    padding: 44px 24px;
  }

  .auth-context h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .auth-context-copy {
    font-size: 16px;
  }

  .auth-marketing {
    display: none;
  }

  .auth-form-panel {
    padding: 44px 24px 52px;
  }

  .auth-form-signup {
    grid-template-columns: 1fr;
  }

  .auth-form-signup .auth-form-status,
  .auth-form-signup .auth-submit,
  .auth-form-signup .auth-form-assurance {
    grid-column: auto;
  }

  .auth-form-alternate {
    display: grid;
  }

  .auth-footer {
    padding: 14px 16px;
  }

  .auth-footer p span {
    display: none;
  }
}

@media (max-width: 420px) {
  .auth-nav,
  .auth-main,
  .auth-footer {
    width: 100%;
    border-inline: 0;
  }

  .auth-main {
    border-inline: 0;
  }

  .auth-context {
    padding-inline: 20px;
  }

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

  .auth-proof dl div:nth-child(2) {
    border-right: 0;
  }

  .auth-proof dl div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--auth-line);
  }

  .auth-form-panel {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-nav-action,
  .auth-field input,
  .auth-submit {
    transition: none;
  }
}
