@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-regular.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-medium.ttf") format("truetype");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-semibold.ttf") format("truetype");
}
#auth-view {
  --ink: #161616;
  --muted: #525252;
  --line: #d8dadd;
  --accent: #0f62fe;
  --paper: #fff;
  --wash: #fff;
  --soft: #f2f4f7;
  color-scheme: light;
  color: var(--ink);
  background: #fff;
  font-family:
    "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  padding: 0;
  gap: 0;
  overflow: visible;
}
#auth-view .auth-header {
  min-height: 112px;
  width: min(calc(100% - 160px), 1280px);
  margin-inline: auto;
  border-bottom: 1px solid #eceef0;
}
#auth-view .wordmark {
  font:
    700 29px/1 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.045em;
  color: var(--ink);
}
#auth-view .wordmark i {
  font-weight: 400;
}
#auth-view .auth-header-link {
  color: var(--muted);
  font-size: 14px;
  padding-block: 16px;
  text-decoration: none;
}
#auth-view .auth-header-link:hover {
  color: var(--accent);
}
#auth-view .auth-layout {
  width: min(calc(100% - 160px), 1280px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
  padding-block: 96px 112px;
}
#auth-view .auth-brand {
  min-height: 0;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
#auth-view .auth-brand::after {
  display: none;
}
#auth-view .auth-brand-copy {
  color: var(--ink);
  text-shadow: none;
  max-width: 600px;
}
#auth-view .auth-brand-copy > p {
  display: block;
  margin: 0 0 40px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}
#auth-view .auth-brand-copy h2 {
  font:
    400 clamp(42px, 4.15vw, 60px)/1.12 "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0;
}
#auth-view .auth-brand-copy h2 span {
  color: var(--accent);
  font-weight: 600;
}
#auth-view .auth-brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 490px;
  margin-top: 32px;
}
#auth-view .auth-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 28px 0 0;
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
  gap: 12px;
}
#auth-view .auth-flow li {
  font-size: 13px;
  line-height: 1.5;
}
#auth-view .auth-flow span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}
#auth-view .auth-card {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
}
#auth-view .auth-card .eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}
#auth-view .auth-card h1 {
  margin: 0 0 20px;
  font:
    400 clamp(32px, 3vw, 42px)/1.15 "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.035em;
}
#auth-view .auth-card > .muted {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
#auth-view .auth-methods {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
#auth-view #auth-form {
  display: grid;
  gap: 24px;
  margin: 0;
}
#auth-view .auth-card label {
  margin: 0;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
#auth-view .auth-card input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
#auth-view .auth-card input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  box-shadow: none;
}
#auth-view .primary,
#auth-view .secondary,
#auth-view .social {
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
  transform: none;
}
#auth-view .primary {
  justify-content: center;
  margin: 0;
  background: var(--accent);
  color: #fff;
}
#auth-view .primary:hover {
  background: #0043ce;
}
#auth-view .social,
#auth-view .secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
#auth-view .social:hover,
#auth-view .secondary:hover {
  background: var(--soft);
  border-color: #a8a8a8;
}
#auth-view .primary:active,
#auth-view .social:active,
#auth-view .secondary:active {
  transform: none;
}
#auth-view button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
#auth-view .auth-links {
  margin: 20px 0 32px;
  gap: 12px 24px;
  flex-wrap: wrap;
}
#auth-view .auth-links .link-button {
  min-height: 44px;
  padding: 8px 0;
  color: var(--accent);
  font-size: 14px;
}
#auth-view .auth-links .link-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#auth-view .legal-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
#auth-view a:focus-visible,
#auth-view button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
#auth-view #auth-passkey {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
}
@media (max-width: 1199px) {
  #auth-view .auth-header,
  #auth-view .auth-layout {
    width: calc(100% - 96px);
  }
  #auth-view .auth-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 64px;
  }
  #auth-view .auth-brand-copy h2 {
    font-size: 46px;
  }
  #auth-view .auth-flow {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 959px) {
  #auth-view .auth-layout {
    grid-template-columns: 1fr;
    width: min(calc(100% - 96px), 560px);
    padding-block: 72px 88px;
  }
  #auth-view .auth-brand {
    display: none;
  }
  #auth-view .auth-card {
    max-width: none;
  }
}
@media (max-width: 599px) {
  #auth-view .auth-header {
    width: calc(100% - 48px);
    min-height: 88px;
    gap: 16px;
  }
  #auth-view .wordmark {
    font-size: 25px;
  }
  #auth-view .auth-header-link {
    font-size: 13px;
  }
  #auth-view .auth-layout {
    width: calc(100% - 48px);
    padding-block: 56px 72px;
  }
  #auth-view .auth-card h1 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #auth-view *,
  #auth-view *::before,
  #auth-view *::after {
    transition: none !important;
    animation: none !important;
  }
}
