/**
 * The main login fills the page, as it always did: form on the left,
 * original animation on the right. Only the left-side essay copy is off.
 */
html:has(.auth-overlay),
body:has(.auth-overlay) {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none;
}
.auth-overlay {
  grid-template-columns: minmax(390px, 0.88fr) minmax(520px, 1.12fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  padding: 0 !important;
  place-content: stretch !important;
  align-items: stretch !important;
  overflow: hidden !important;
}
.auth-socials,
.auth-divider,
.auth-kicker,
.auth-intro,
.auth-form-wrap > h1,
.auth-stats,
.auth-form fieldset:has(.account-types),
.account-types {
  display: none !important;
}
.auth-mobile-brand,
.auth-story .brand {
  display: none !important;
}
.auth-form-side {
  position: relative;
  grid-area: 1 / 1 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: 100% !important;
  width: auto !important;
  padding: 70px 55px !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: auto;
}
.auth-story {
  display: flex !important;
  grid-area: 1 / 2 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: 100% !important;
  padding: 40px 52px !important;
  border-radius: 0;
  overflow: hidden;
}
@media (max-width: 880px) {
  .auth-overlay { grid-template-columns: 1fr !important; }
  .auth-story { display: none !important; }
  .auth-form-side {
    grid-area: auto !important;
    padding: 80px 28px 45px !important;
  }
}
.auth-form > label.sd-email-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  float: none !important;
  font-size: 0;
}
.auth-form > label.sd-email-field > div {
  float: none !important;
  width: 100% !important;
  height: 50px !important;
  margin-top: 8px !important;
  box-sizing: border-box;
  background: var(--paper, #fff);
  border: 1px solid #dce4ef;
}
.auth-form > label.sd-email-field input[name="email"] {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  font-size: 15px !important;
}
.auth-form > label.sd-email-field > .sd-info {
  order: -1;
  align-self: flex-end;
  margin: 0 0 8px;
  box-sizing: border-box !important;
  flex: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 1.5px solid #1769ff !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  display: grid !important;
  place-items: center !important;
  font: italic 750 16px/1 Georgia, "Times New Roman", serif !important;
  color: #1769ff !important;
}
.auth-form > label.sd-password-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  font-size: 0;
}
.auth-form > label.sd-password-field > button {
  float: none !important;
  order: -1;
  align-self: flex-end;
  margin: 0 0 8px;
  font-size: 11px !important;
  font-weight: 700;
}
.auth-form > label.sd-password-field > div {
  float: none !important;
  width: 100% !important;
  height: 50px !important;
  box-sizing: border-box;
}
.sd-info {
  position: static;
  float: none !important;
  flex: none;
  cursor: pointer;
}
.sd-login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
}
.sd-login-brand img {
  display: block;
  width: 88px;
  height: 88px;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.sd-login-brand b {
  font: 800 44px/1 Manrope, sans-serif;
  letter-spacing: -0.04em;
  color: #0a1530;
}
html.sd-info-open .auth-form-side,
html.sd-info-open .auth-story,
html.sd-info-open .auth-mobile-brand {
  visibility: hidden !important;
  opacity: 0 !important;
  transition: none !important;
  animation: none !important;
}
html.sd-info-open .auth-overlay {
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--paper, #fff) !important;
}
html.sd-info-open .sd-info-backdrop {
  visibility: visible !important;
  opacity: 1 !important;
}
.sd-info-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: start center;
  overflow: auto;
  padding: 28px 16px;
  background: rgba(6, 14, 32, .45);
  animation: none !important;
}
.sd-info-dialog {
  position: relative;
  width: min(980px, 100%);
  margin: 12px auto 24px;
  padding: 8px 0 0;
  background: transparent;
  color: var(--ink, #0a1530);
  box-shadow: none;
}
.sd-info-close {
  position: absolute;
  top: -4px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(6, 14, 32, 0.45);
  font-size: 24px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}
.sd-info-dialog h2 {
  margin: 0 48px 14px 0;
  font-size: 1.25rem;
  color: #fff;
  text-align: center;
}
.sd-info-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 0 0 16px;
}
.sd-info-window {
  min-width: 0;
  padding: 22px 20px 18px;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: var(--paper, #fff);
  box-shadow: 0 20px 60px rgba(6, 14, 32, 0.3);
}
.sd-info-amp {
  align-self: center;
  font-size: 2.4rem;
  font-weight: 750;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(6, 14, 32, 0.45);
}
.sd-info-window h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink, #0a1530); }
.sd-info-window p, .sd-info-window li { margin: 0 0 8px; color: #4a5a7d; font-size: 14px; line-height: 1.5; }
.sd-info-window ul { margin: 8px 0 12px; padding-left: 18px; }
.sd-info-note {
  margin: 4px 0 12px;
  padding: 12px 14px;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  background: #eaf2ff;
}
.sd-info-note b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--ink, #0a1530); }
.sd-info-note p { margin: 0; font-size: 13px; }
.sd-info-window a { color: #1769ff; font-weight: 650; }
.sd-info-foot {
  text-align: center;
  padding: 16px 20px;
}
.sd-info-foot p { margin: 0; font-size: 14.5px; color: var(--ink, #0a1530); }
@media (max-width: 760px) {
  .sd-info-pair { grid-template-columns: 1fr; }
  .sd-info-amp { justify-self: center; padding: 2px 0; }
}
.auth-form-wrap { width: 100% !important; max-width: 400px; }
.auth-switch {
  font-size: 0 !important;
  margin-top: 16px !important;
}
.auth-switch button {
  font-size: 13.5px !important;
  font-weight: 650 !important;
}

form[data-sd-path="send"] label:has(input[name="email"])::after,
form[data-sd-path="mail"] label:has(input[name="email"])::after,
form[data-sd-path="both"] label:has(input[name="email"])::after {
  position: static;
  display: inline-block;
  align-self: flex-start;
  flex: none;
  width: max-content;
  max-width: max-content;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8efff;
  color: #0042ff;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.2;
}
form[data-sd-path="send"] label:has(input[name="email"])::after { content: "Send"; }
form[data-sd-path="mail"] label:has(input[name="email"])::after { content: "Mail"; }
form[data-sd-path="both"] label:has(input[name="email"])::after { content: "Send & Mail"; }

.sd-want {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 16px;
}
.sd-want button {
  flex: 0.85 1 0;
  min-width: 0;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: var(--paper, #fff);
  color: inherit;
  font: 650 13px inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
.sd-want button span {
  white-space: nowrap;
}
.sd-want button svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.sd-want button[data-pick="both"] {
  flex: 1.7 1 0;
}
.sd-want button[data-pick="both"] svg {
  width: 14px;
  height: 14px;
}
.sd-want button.on {
  border-color: #1769ff;
  background: #eaf2ff;
  color: #1769ff;
}

html[data-theme="dark"] {
  form[data-sd-path="send"] label:has(input[name="email"])::after,
  form[data-sd-path="mail"] label:has(input[name="email"])::after,
  form[data-sd-path="both"] label:has(input[name="email"])::after {
    background: #1a2a4a;
    color: #6ba4ff;
  }
  .sd-info-window {
    background: #131c2e;
    border-color: #26314a;
  }
  .sd-info-note {
    background: #1a2a4a;
    border-color: #26314a;
  }
  .sd-info-window h3,
  .sd-info-note b,
  .sd-info-foot p {
    color: #e8eefc;
  }
}

html.sd-terms-open,
html.sd-terms-open body {
  overflow: hidden !important;
}
.sd-terms-page {
  position: fixed;
  inset: 10px;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #0a1633;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(6, 14, 32, .28);
  transform: translateX(110%);
  transition: transform .38s cubic-bezier(.22, .8, .28, 1);
}
.sd-terms-page.on { transform: translateX(0); }
.sd-terms-head {
  flex: none;
  padding: 22px 24px 12px;
}
.sd-terms-head h2 { margin: 0 0 8px; font-size: 1.45rem; }
.sd-terms-lead { margin: 0; color: #4a5a7d; font-size: 0.95rem; line-height: 1.45; }
.sd-terms-read {
  overflow: auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 24px 16px;
  -webkit-overflow-scrolling: touch;
}
.sd-terms-doc {
  background: #f6f9fd;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 16px 18px;
}
.sd-terms-doc h3 { margin: 0 0 8px; font-size: 1rem; }
.sd-terms-doc p { margin: 0 0 10px; color: #4a5a7d; font-size: 0.875rem; }
.sd-terms-doc pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
}
.sd-terms-actions {
  flex: none;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid #e2e8f4;
  background: #fff;
}
.sd-terms-back, .sd-terms-agree {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 650;
  cursor: pointer;
}
.sd-terms-back { border: 1px solid #e2e8f4; background: #fff; }
.sd-terms-agree {
  border: 0;
  background: #0042ff;
  color: #fff;
}
.sd-terms-agree:disabled { opacity: .45; cursor: not-allowed; }
@media (prefers-color-scheme: dark) {
  .sd-terms-page { background: #121826; color: #e8eefc; }
  .sd-terms-lead, .sd-terms-doc p { color: #9aaccc; }
  .sd-terms-doc { background: #1a2436; border-color: #26314a; }
  .sd-terms-actions { background: #121826; border-color: #26314a; }
  .sd-terms-back { background: #1a2436; border-color: #26314a; color: #e8eefc; }
}
