@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-variable.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-tight-latin-variable.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  --auth-navy: #071722;
  --auth-navy-deep: #05121a;
  --auth-canvas: #f2f3f1;
  --auth-surface: #ffffff;
  --auth-surface-muted: #f7f8f7;
  --auth-ink: #071521;
  --auth-ink-soft: #253641;
  --auth-muted: #65747f;
  --auth-muted-light: #8a959d;
  --auth-border: #d8dee2;
  --auth-border-strong: #c3ced4;
  --auth-accent: #1c6b95;
  --auth-accent-strong: #10577d;
  --auth-accent-soft: #eaf2f6;
  --auth-success: #1e7055;
  --auth-success-soft: #e9f4ef;
  --auth-danger: #a13e3e;
  --auth-danger-soft: #faeeee;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--auth-canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.auth-v2-page {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--auth-canvas);
  color: var(--auth-ink);
}

body.auth-v2-page,
body.auth-v2-page button,
body.auth-v2-page input {
  font: inherit;
}

:where(body.auth-v2-page a) {
  color: inherit;
  text-decoration: none;
}

body.auth-v2-page :is(a, button, input) {
  -webkit-tap-highlight-color: transparent;
}

body.auth-v2-page :is(a, button) {
  touch-action: manipulation;
}

:where(body.auth-v2-page button) {
  border: 0;
}

body.auth-v2-page :is(button:not(:disabled), label[for]) {
  cursor: pointer;
}

body.auth-v2-page button:disabled {
  cursor: wait;
}

body.auth-v2-page :focus-visible {
  outline: 2px solid rgba(28, 107, 149, 0.58);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.auth-v2-root,
.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-startup {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-content: center;
  justify-items: center;
  gap: 24px;
  background: var(--auth-navy);
}

.auth-startup img {
  display: block;
  width: 200px;
  height: auto;
}

.auth-startup-spinner {
  position: relative;
  width: 56px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.auth-startup-spinner::after {
  position: absolute;
  inset: 0;
  width: 50%;
  background: #62a8cc;
  content: "";
  animation: auth-progress 900ms ease-in-out infinite alternate;
}

@keyframes auth-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(200%); }
}

.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(470px, 0.96fr) minmax(570px, 1.04fr);
  isolation: isolate;
  background: var(--auth-canvas);
}

.auth-site-mark {
  position: absolute;
  top: clamp(30px, 4vw, 58px);
  left: clamp(32px, 4.6vw, 78px);
  z-index: 10;
  display: inline-flex;
  width: clamp(174px, 13vw, 206px);
  min-height: 40px;
  align-items: center;
}

.auth-site-picture,
.auth-site-logo {
  display: block;
  width: 100%;
  height: auto;
}

.auth-site-logo {
  object-fit: contain;
}

.auth-site-name {
  display: none;
}

.auth-brand-panel {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  padding: clamp(132px, 15vh, 190px) clamp(44px, 5vw, 88px) clamp(62px, 8vh, 110px);
  overflow: hidden;
  background: linear-gradient(152deg, #0d2735 0%, var(--auth-navy) 46%, var(--auth-navy-deep) 100%);
  color: #f7fafb;
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.1), 18px 0 55px rgba(7, 23, 34, 0.08);
}

.auth-brand-copy {
  width: min(100%, 610px);
  margin: 0 auto;
  padding-left: clamp(26px, 2.2vw, 38px);
  border-left: 3px solid #2b80aa;
}

.auth-brand-kicker {
  display: block;
  max-width: 48ch;
  color: #8cb9cf;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.auth-brand-copy h1 {
  max-width: 11ch;
  margin: 30px 0 21px;
  color: #ffffff;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(46px, 4.8vw, 78px);
  font-weight: 710;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.auth-brand-intro {
  max-width: 52ch;
  margin: 0;
  color: #a9bac3;
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.72;
}

.auth-product-context {
  display: grid;
  max-width: 540px;
  gap: 12px;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.auth-product-context li {
  color: #d7e1e6;
  font-size: 13px;
  font-weight: 610;
  line-height: 1.55;
}

.auth-main {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: clamp(76px, 8vh, 118px) clamp(36px, 5.2vw, 94px) clamp(44px, 6vh, 82px);
  overflow: hidden;
  background: linear-gradient(180deg, #f6f6f4 0%, var(--auth-canvas) 100%);
}

.auth-main-frame {
  width: min(100%, 555px);
}

.auth-card {
  width: 100%;
  padding: clamp(36px, 3.5vw, 50px);
  border: 1px solid rgba(201, 210, 215, 0.84);
  border-radius: 16px;
  background: var(--auth-surface);
  box-shadow: 0 1px 2px rgba(7, 21, 33, 0.03), 0 24px 64px rgba(7, 21, 33, 0.065);
}

.auth-card-header {
  margin-bottom: 30px;
}

.mobile-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--auth-accent-strong);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-card-header h2 {
  margin: 0;
  color: var(--auth-ink);
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 1;
}

.auth-card-header > p {
  max-width: 48ch;
  margin: 13px 0 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.62;
}

.signup-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.signup-proof-row span {
  min-width: 0;
  color: var(--auth-muted-light);
  font-size: 10px;
  font-weight: 690;
  letter-spacing: 0.025em;
  line-height: 1.4;
  white-space: nowrap;
}

.signup-proof-row span.active {
  color: var(--auth-accent-strong);
  font-weight: 820;
}

.auth-form {
  display: grid;
  gap: 17px;
}

.auth-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.auth-field-label {
  color: var(--auth-ink-soft);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.auth-input-frame {
  position: relative;
  display: block;
}

.auth-input-frame input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  outline: 0;
  background: var(--auth-surface);
  color: var(--auth-ink);
  font-size: 14px;
  font-weight: 560;
  line-height: 1;
  box-shadow: inset 0 1px rgba(7, 21, 33, 0.018), 0 1px 2px rgba(7, 21, 33, 0.025);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.auth-input-frame input::placeholder {
  color: #939da4;
  font-weight: 500;
  opacity: 1;
}

.auth-input-frame input:hover:not(:focus) {
  border-color: var(--auth-border-strong);
}

.auth-input-frame input:focus {
  border-color: rgba(28, 107, 149, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(28, 107, 149, 0.1), 0 8px 20px rgba(7, 21, 33, 0.045);
}

.auth-input-frame input[aria-invalid="true"] {
  border-color: rgba(161, 62, 62, 0.78);
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(161, 62, 62, 0.09);
}

.auth-password-frame input {
  padding-right: 78px;
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: inline-flex;
  min-width: 58px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: transparent;
  color: var(--auth-accent-strong);
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-50%);
  transition: color 140ms ease, background-color 140ms ease;
}

.auth-password-toggle:hover {
  background: #f1f5f6;
  color: #073d59;
}

.auth-form-row {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: flex-end;
  margin-top: -3px;
}

.auth-text-link,
.auth-legal-footer a,
.auth-consent-copy a {
  color: var(--auth-accent-strong);
  font-weight: 720;
  text-underline-offset: 3px;
  transition: color 130ms ease, text-decoration-color 130ms ease;
}

.auth-text-link:hover,
.auth-legal-footer a:hover,
.auth-consent-copy a:hover {
  color: #073d59;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(7, 61, 89, 0.4);
}

.auth-form-row .auth-text-link {
  font-size: 12px;
}

.auth-legal-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 2px 1px;
  color: var(--auth-muted);
  font-size: 11px;
  line-height: 1.55;
}

.auth-checkbox-control {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.auth-checkbox-control input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
}

.auth-checkbox-mark {
  position: absolute;
  inset: 0;
  border: 1px solid var(--auth-border-strong);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 21, 33, 0.04);
  transition: border-color 130ms ease, background-color 130ms ease, box-shadow 130ms ease;
}

.auth-checkbox-mark::after {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 6px;
  height: 4px;
  border-bottom: 1.7px solid white;
  border-left: 1.7px solid white;
  content: "";
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
  transition: opacity 120ms ease, transform 120ms ease;
}

.auth-checkbox-control input:checked + .auth-checkbox-mark {
  border-color: var(--auth-accent);
  background: var(--auth-accent);
  box-shadow: 0 0 0 3px rgba(28, 107, 149, 0.1);
}

.auth-checkbox-control input:checked + .auth-checkbox-mark::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.auth-checkbox-control input:focus-visible + .auth-checkbox-mark {
  outline: 2px solid rgba(28, 107, 149, 0.58);
  outline-offset: 3px;
}

.auth-checkbox-control input[aria-invalid="true"] + .auth-checkbox-mark {
  border-color: var(--auth-danger);
  box-shadow: 0 0 0 3px rgba(161, 62, 62, 0.1);
}

.auth-primary-button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 3px;
  padding: 0 20px;
  border: 1px solid var(--auth-navy-deep);
  border-radius: 8px;
  background: var(--auth-navy);
  color: #ffffff;
  font-size: 13px;
  font-weight: 770;
  letter-spacing: 0.005em;
  box-shadow: 0 10px 22px rgba(7, 23, 34, 0.15);
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.auth-primary-button:hover:not(:disabled) {
  background: #0c2736;
  box-shadow: 0 13px 27px rgba(7, 23, 34, 0.2);
  transform: translateY(-1px);
}

.auth-primary-button:active:not(:disabled) {
  box-shadow: 0 6px 15px rgba(7, 23, 34, 0.17);
  transform: translateY(0);
}

.auth-primary-button:disabled {
  opacity: 0.62;
}

.auth-submit-arrow {
  position: relative;
  width: 16px;
  height: 16px;
}

.auth-submit-arrow::before,
.auth-submit-arrow::after {
  position: absolute;
  content: "";
}

.auth-submit-arrow::before {
  top: 7px;
  left: 1px;
  width: 13px;
  height: 1.5px;
  background: currentColor;
}

.auth-submit-arrow::after {
  top: 4px;
  right: 1px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.auth-form[aria-busy="true"] .auth-submit-arrow {
  width: 18px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  animation: auth-busy 700ms ease-in-out infinite alternate;
}

.auth-form[aria-busy="true"] .auth-submit-arrow::before,
.auth-form[aria-busy="true"] .auth-submit-arrow::after {
  display: none;
}

@keyframes auth-busy {
  from { opacity: 0.35; transform: scaleX(0.55); }
  to { opacity: 1; transform: scaleX(1); }
}

.auth-status {
  min-height: 0;
  margin-top: 18px;
  padding: 0;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.auth-status:empty,
.auth-status[data-empty] {
  display: none;
}

.auth-status.error {
  color: var(--auth-danger);
}

.auth-status.success {
  color: var(--auth-success);
}

.auth-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #e5e9eb;
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-footer .auth-text-link {
  font-size: 12px;
}

.auth-legal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  color: var(--auth-muted-light);
  font-size: 10px;
}

.auth-legal-footer a {
  color: var(--auth-muted-light);
  font-weight: 650;
}

.auth-shell-signup .auth-card {
  padding-top: 38px;
  padding-bottom: 33px;
}

.auth-shell-signup .auth-card-header {
  margin-bottom: 23px;
}

.auth-shell-signup .auth-card-header h2 {
  font-size: clamp(34px, 2.6vw, 44px);
}

.auth-shell-signup .auth-form {
  gap: 14px;
}

.auth-shell-signup .auth-input-frame input {
  height: 49px;
}

.auth-shell-signup .auth-primary-button {
  min-height: 52px;
}

.auth-shell-signup .auth-status {
  margin-top: 14px;
}

.auth-shell-signup .auth-footer {
  margin-top: 18px;
  padding-top: 17px;
}

.auth-shell-signup .auth-legal-footer {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .auth-shell {
    grid-template-columns: minmax(410px, 0.88fr) minmax(520px, 1.12fr);
  }

  .auth-brand-panel {
    padding-right: 48px;
    padding-left: 48px;
  }

  .auth-brand-copy h1 {
    font-size: clamp(43px, 5vw, 62px);
  }

  .auth-main {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-width: 960px) {
  .auth-shell {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
  }

  .auth-site-mark {
    position: absolute;
    top: 24px;
    left: 28px;
    width: 172px;
  }

  .auth-main {
    order: 1;
    min-height: auto;
    padding: 98px 28px 54px;
  }

  .auth-brand-panel {
    order: 2;
    min-height: auto;
    padding: 58px max(28px, 8vw) 62px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  }

  .auth-brand-copy {
    width: min(100%, 720px);
  }

  .auth-brand-copy h1 {
    max-width: 12ch;
    font-size: clamp(42px, 8vw, 65px);
  }

  .auth-brand-intro {
    max-width: 62ch;
  }

  .auth-product-context {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .auth-site-mark {
    top: 19px;
    left: 20px;
    width: 152px;
    min-height: 38px;
  }

  .auth-main {
    align-items: flex-start;
    padding: 78px 12px 28px;
    overflow: visible;
  }

  .auth-main-frame {
    width: 100%;
  }

  .auth-card {
    padding: 30px 20px 25px;
    border-radius: 13px;
    box-shadow: 0 1px 2px rgba(7, 21, 33, 0.03), 0 14px 34px rgba(7, 21, 33, 0.055);
  }

  .auth-card-header {
    margin-bottom: 25px;
  }

  .auth-card-header h2 {
    font-size: 36px;
  }

  .auth-card-header > p {
    margin-top: 10px;
  }

  .auth-form {
    gap: 15px;
  }

  .auth-input-frame input {
    height: 50px;
    font-size: 16px;
  }

  .auth-primary-button {
    min-height: 52px;
  }

  .signup-proof-row {
    gap: 7px;
    margin-top: 19px;
  }

  .signup-proof-row span {
    font-size: 9px;
  }

  .auth-shell-signup .auth-card {
    padding: 27px 18px 22px;
  }

  .auth-shell-signup .auth-card-header h2 {
    font-size: 34px;
  }

  .auth-shell-signup .auth-input-frame input {
    height: 48px;
  }

  .auth-brand-panel {
    padding: 46px 22px 48px;
  }

  .auth-brand-copy {
    padding-left: 20px;
    border-left-width: 2px;
  }

  .auth-brand-kicker {
    letter-spacing: 0.12em;
  }

  .auth-brand-copy h1 {
    margin-top: 19px;
    margin-bottom: 15px;
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .auth-brand-intro {
    font-size: 14px;
    line-height: 1.6;
  }

  .auth-product-context {
    gap: 7px;
    margin-top: 21px;
  }

  .auth-product-context li {
    font-size: 11px;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .auth-main {
    padding-right: 8px;
    padding-left: 8px;
  }

  .auth-card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .signup-proof-row span {
    font-size: 8.5px;
  }
}

@media (min-width: 961px) and (max-height: 820px) {
  .auth-site-mark {
    top: 26px;
  }

  .auth-brand-panel {
    padding-top: 108px;
    padding-bottom: 34px;
    overflow-y: auto;
  }

  .auth-brand-copy h1 {
    margin-top: 20px;
    margin-bottom: 14px;
    font-size: clamp(42px, 4vw, 61px);
  }

  .auth-brand-intro {
    line-height: 1.55;
  }

  .auth-product-context {
    gap: 6px;
    margin-top: 19px;
  }

  .auth-product-context li {
    line-height: 1.4;
  }

  .auth-main {
    align-items: flex-start;
    padding-top: 58px;
    padding-bottom: 32px;
    overflow-y: auto;
  }

  .auth-shell-signup .auth-main {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .auth-shell-signup .auth-card {
    padding-top: 29px;
    padding-bottom: 24px;
  }

  .auth-shell-signup .auth-card-header {
    margin-bottom: 17px;
  }

  .auth-shell-signup .signup-proof-row {
    margin-top: 16px;
  }

  .auth-shell-signup .auth-form {
    gap: 11px;
  }

  .auth-shell-signup .auth-input-frame input {
    height: 45px;
  }

  .auth-shell-signup .auth-primary-button {
    min-height: 47px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .auth-brand-panel,
  .auth-main,
  .auth-card {
    forced-color-adjust: auto;
  }

  .auth-checkbox-mark {
    border: 1px solid CanvasText;
  }
}
