/* Full-screen sign-in and email-code screens. */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');

.sw-screen {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: "Open Sans", sans-serif;
}

.sw-screen *,
.sw-screen *::before,
.sw-screen *::after {
  box-sizing: border-box;
}

.sw-screen a {
  color: inherit;
}

.sw-screen button,
.sw-screen input {
  font-family: inherit;
}

.sw-auth-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 7vw;
  color: #fff;
}

.sw-auth-nav-brand {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  flex: none;
  white-space: nowrap;
}

.sw-auth-nav-brand img {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 8px;
}

.sw-auth-nav-brand .brand-ai {
  color: #f97316;
}

.sw-auth-nav-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.sw-auth-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.sw-auth-nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.sw-auth-nav-links a:hover,
.sw-auth-nav-links a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.sw-auth-nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.sw-auth-nav-toggle span,
.sw-auth-nav-toggle span::before,
.sw-auth-nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  position: relative;
}

.sw-auth-nav-toggle span::before,
.sw-auth-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.sw-auth-nav-toggle span::before { top: -6px; }
.sw-auth-nav-toggle span::after { top: 6px; }

.sw-auth-nav .sw-nav-cta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.sw-auth-nav .sw-nav-account,
.sw-auth-nav button.sw-nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

.sw-auth-nav .sw-nav-account:hover,
.sw-auth-nav .sw-nav-account:focus,
.sw-auth-nav button.sw-nav-account:hover,
.sw-auth-nav button.sw-nav-account:focus {
  background: rgba(255, 255, 255, 0.12);
}

.sw-auth-nav .sw-nav-account-dropdown {
  position: relative;
}

.sw-auth-nav .sw-nav-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px 0;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  z-index: 50;
}

.sw-auth-nav .sw-nav-account-menu[hidden] {
  display: none !important;
}

.sw-auth-nav .sw-nav-account-menu__link,
.sw-auth-nav .sw-nav-account-menu__btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: #16324a;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.sw-auth-nav .sw-nav-account-menu__link:hover,
.sw-auth-nav .sw-nav-account-menu__link:focus,
.sw-auth-nav .sw-nav-account-menu__btn:hover,
.sw-auth-nav .sw-nav-account-menu__btn:focus {
  background: #f4f7fb;
}

.sw-auth-nav .sw-nav-account-menu__meta {
  margin: 0;
  padding: 6px 16px 10px;
  color: #64748b;
  font-size: 12px;
}

.sw-kaleido {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  align-items: center;
  gap: 48px;
  padding: 108px 7vw 56px;
  background-color: #07111f;
  background-image:
    linear-gradient(90deg, rgba(4, 10, 28, 0.28) 0%, rgba(4, 10, 28, 0.05) 42%, rgba(4, 10, 28, 0.12) 100%),
    url("../images/auth-ink-bg.jpg"),
    url("images/auth-ink-bg.jpg"),
    url("auth-ink-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sw-kaleido-copy {
  max-width: 640px;
  padding-bottom: 24px;
}

.sw-kaleido-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.sw-kaleido-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #38bdf8, #6366f1, #f472b6, #fb923c, #facc15, #38bdf8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.sw-kaleido-eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.sw-kaleido-copy h1 {
  margin: 0;
  max-width: 11em;
  color: #fff;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.sw-kaleido-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sw-kaleido-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(7, 16, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.sw-dots {
  display: inline-flex;
  gap: 4px;
}

.sw-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.sw-dots--warm i:nth-child(1) { background: #fb7185; }
.sw-dots--warm i:nth-child(2) { background: #fbbf24; }
.sw-dots--warm i:nth-child(3) { background: #fb923c; }
.sw-dots--cool i:nth-child(1) { background: #60a5fa; }
.sw-dots--cool i:nth-child(2) { background: #818cf8; }
.sw-dots--cool i:nth-child(3) { background: #22d3ee; }

.sw-kaleido-card {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding: 28px 26px 22px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 92, 40, 0.28) 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sw-kaleido-card h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.sw-kaleido-sub {
  margin: 4px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.sw-kaleido-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(80, 8, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
}

.sw-field {
  display: block;
  margin-bottom: 14px;
}

.sw-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.sw-field-control {
  position: relative;
}

.sw-field input[type="email"],
.sw-field input[type="password"],
.sw-field input[type="text"] {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  outline: none;
}

.sw-field input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.sw-field input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.24);
}

.sw-eye {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 48px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.sw-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
  font-size: 14px;
}

.sw-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.sw-remember input {
  width: 16px;
  height: 16px;
  accent-color: #fff;
}

.sw-kaleido-card .sw-text-link {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.sw-kaleido-card .sw-text-link:hover,
.sw-kaleido-card .sw-text-link:focus {
  text-decoration: underline;
}

.sw-signin-btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c2430;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sw-signin-btn:hover,
.sw-signin-btn:focus {
  background: #f4f7fb;
}

.sw-signin-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.sw-kaleido-foot {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.sw-kaleido-foot a {
  color: #fff;
  font-weight: 750;
}

.sw-kaleido-card--register .sw-field {
  margin-bottom: 12px;
}

.sw-kaleido-card--register .sw-kaleido-sub {
  margin-bottom: 16px;
}

.sw-field-hint {
  margin: -4px 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.sw-kaleido-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sw-kaleido-card-top h2 {
  margin: 0;
}

.sw-kaleido-card .sw-secure {
  flex: none;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sw-kaleido-card .sw-kaleido-sub strong {
  color: #fff;
  font-weight: 750;
}

.sw-kaleido-card .sw-otp {
  margin: 4px 0 18px;
}

.sw-kaleido-card .sw-otp input {
  width: 46px;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: none;
}

.sw-kaleido-card .sw-otp input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.sw-kaleido-card .sw-otp-dash {
  color: rgba(255, 255, 255, 0.75);
}

.sw-kaleido-foot button {
  border: 0;
  padding: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.sw-kaleido-foot button:disabled {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  cursor: default;
  font-weight: 650;
}

.sw-verify {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  color: #17211c;
  background:
    radial-gradient(ellipse at 0% 45%, rgba(190, 230, 170, 0.95) 0%, rgba(190, 230, 170, 0) 58%),
    radial-gradient(ellipse at 100% 78%, rgba(255, 214, 150, 0.95) 0%, rgba(255, 214, 150, 0) 52%),
    #f7f4ec;
}

.sw-verify-card {
  width: min(440px, 100%);
  padding: 26px 28px 22px;
  border-radius: 28px;
  background: #fff;
  border: 2px solid #1d3b31;
  box-shadow: 0 18px 50px rgba(29, 59, 49, 0.08);
}

.sw-verify-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sw-verify-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #163028;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.sw-verify-bars {
  width: 18px;
  height: 16px;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}

.sw-verify-bars i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: #1d3b31;
}

.sw-verify-bars i:nth-child(1) { height: 8px; }
.sw-verify-bars i:nth-child(2) { height: 14px; }
.sw-verify-bars i:nth-child(3) { height: 11px; }

.sw-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f6df;
  color: #1d3b31;
  font-size: 13px;
  font-weight: 700;
}

.sw-verify-art {
  display: flex;
  justify-content: center;
  margin: 18px 0 8px;
}

.sw-verify-card h1 {
  margin: 8px 0 8px;
  text-align: center;
  color: #14261f;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.sw-verify-lead {
  margin: 0 auto 22px;
  max-width: 34em;
  text-align: center;
  color: #4d5c55;
  font-size: 15px;
  line-height: 1.45;
}

.sw-verify-lead strong {
  color: #1d3b31;
  font-weight: 750;
}

.sw-otp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.sw-otp input {
  width: 48px;
  height: 56px;
  border-radius: 12px;
  border: 1.5px solid #e4ddd2;
  background: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #14261f;
  outline: none;
}

.sw-otp input:focus {
  border-color: #1d3b31;
  box-shadow: 0 0 0 3px rgba(29, 59, 49, 0.12);
}

.sw-otp-dash {
  width: auto;
  height: auto;
  background: none;
  color: #8d8478;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.sw-verify-error {
  margin: 0 0 12px;
  color: #9f1239;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.sw-verify-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: #16382c;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.sw-verify-btn:hover,
.sw-verify-btn:focus {
  background: #10281f;
}

.sw-verify-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sw-verify-resend,
.sw-verify-back {
  margin: 16px 0 0;
  text-align: center;
  color: #5c6b64;
  font-size: 14px;
}

.sw-verify-resend button,
.sw-verify-back a {
  border: 0;
  padding: 0;
  background: none;
  color: #16382c;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.sw-verify-resend button:disabled {
  color: #16382c;
  text-decoration: none;
  cursor: default;
  font-weight: 650;
}

.sw-verify-note {
  margin: 18px 0 0;
  text-align: center;
  color: #8a938e;
  font-size: 12px;
}

@media (max-width: 980px) {
  .sw-auth-nav {
    padding: 14px 18px;
  }

  .sw-auth-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sw-auth-nav-panel {
    display: none;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(7, 16, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
  }

  .sw-auth-nav.is-open .sw-auth-nav-panel {
    display: flex;
  }

  .sw-auth-nav-links {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .sw-auth-nav .sw-nav-cta {
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .sw-kaleido {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 92px 18px 40px;
  }

  .sw-kaleido-eyebrow {
    margin-top: 8px;
  }

  .sw-kaleido-copy h1 {
    font-size: 40px;
  }

  .sw-kaleido-card {
    justify-self: stretch;
    max-width: none;
  }

  .sw-otp input {
    width: 42px;
    height: 50px;
  }
}

@media (max-width: 420px) {
  .sw-verify-card {
    padding: 22px 14px 18px;
  }

  .sw-otp {
    gap: 6px;
  }

  .sw-otp input,
  .sw-kaleido-card .sw-otp input {
    width: 36px;
    height: 46px;
    font-size: 18px;
  }
}
