/* Sign-up form + the promise beside it. Shared by signup.html and the
   visitor homepage hero (index.html); logic in signup-form.js. */
.login-card {
  background: var(--white);
  border-radius: 28px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 12px 48px -12px rgba(13, 22, 51, 0.12);
  position: relative;
  overflow: hidden;
  animation: cardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), #4a82ff);
}


.login-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.login-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.login-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
}
.login-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 89, 255, 0.1);
}
.login-input::placeholder {
  color: #8d95ad;
}

.login-field + .login-field {
  margin-top: 16px;
}

.field-row {
  display: flex;
  gap: 12px;
}
.field-row .login-field {
  flex: 1;
  min-width: 0;
}
.field-row .login-field + .login-field {
  margin-top: 0;
}

.password-wrapper {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: flex;
  align-items: center;
}
.password-toggle:hover { color: var(--ink); }

.password-hint {
  font-size: 0.75rem;
  color: #8d95ad;
  margin-top: 6px;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 15px 24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 18px -4px rgba(7, 89, 255, 0.35);
}
.login-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(7, 89, 255, 0.4);
}
.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.login-btn svg { flex-shrink: 0; }

.login-signin-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.login-signin-link a {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.login-signin-link a:hover { color: var(--blue-dark); }

.login-error {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: #fce4ec;
  color: var(--crimson);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}
.login-error.visible { display: block; }

.login-success {
  display: none;
  text-align: center;
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.login-success.visible { display: block; }
.login-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--blue-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-success h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.login-success p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.su-legal { margin: 12px 0 0; font-size: 0.74rem; line-height: 1.5; color: var(--muted); text-align: center; }
.su-legal a { color: var(--blue); font-weight: 700; }

@media (max-width: 480px) {
  .login-card { padding: 36px 24px; border-radius: 20px; }
  .login-title { font-size: 1.35rem; }
  .field-row { flex-direction: column; gap: 0; }
  .field-row .login-field + .login-field { margin-top: 16px; }
}
/* ── Sign-up as the continuation of lingopundit.com (2026-10-02):
   white top bar, the promise on the left, the form on the right ── */
.su-wrap { width: 100%; max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 440px); gap: 64px; align-items: start; }
.su-pitch { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.su-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.su-pitch h1 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.su-pitch h1 span { background: linear-gradient(transparent 64%, #f2f22f 64%, #f2f22f 90%, transparent 90%); }
.su-sub { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--muted); max-width: 500px; }
.su-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.su-points li { display: flex; gap: 12px; }
.su-points li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.su-quote { margin: 4px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; max-width: 520px; }
.su-quote img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.su-quote blockquote { margin: 0 0 8px; font-size: 0.95rem; font-weight: 600; line-height: 1.55; }
.su-quote figcaption { font-size: 0.8rem; color: var(--muted); }
.su-li { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.78rem; font-weight: 700; color: #0a66c2; }
.su-li i { font-style: normal; width: 18px; height: 18px; border-radius: 4px; background: #0a66c2; color: #fff; font-size: 0.66rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.su-stats { display: flex; flex-wrap: wrap; gap: 26px; font-size: 0.86rem; color: var(--muted); }
.su-stats b { color: var(--blue); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; } /* a slight highlight: our strongest proof (Chakshu 2026-10-03) */
.login-card { max-width: none; border: 1px solid var(--line); border-radius: 22px; padding: 34px 34px 28px; box-shadow: 0 30px 60px -36px rgba(13,22,51,0.35); }
.login-card::before { display: none; }
.su-form-title { margin: 0 0 20px; font-size: 1.4rem; font-weight: 800; }
.login-btn { border-radius: 100px !important; }
@media (max-width: 900px) {
  .su-wrap { grid-template-columns: 1fr; gap: 28px; }
  .su-pitch { padding-top: 0; gap: 16px; }
  .su-points, .su-quote, .su-stats { display: none; }
  .su-pitch h1 { font-size: 2rem; }
}
@media (max-width: 520px) {
  .login-card { padding: 24px 18px; }
}

/* ── Auth screens (sign-up, log in, set password): white top bar + one form look ── */
.su-top { position: relative; z-index: 2; height: 72px; background: rgba(255,255,255,0.92); border-bottom: 1px solid rgba(7,89,255,0.1); }
.su-top-inner { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.su-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.su-brand img { height: 30px; width: auto; }
.su-brand span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dark); background: var(--blue-tint); padding: 5px 11px; border-radius: 100px; }
.su-top-login { font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.su-top-login a { margin-left: 10px; font-weight: 700; color: var(--blue); text-decoration: none; border: 1.5px solid #d6e2ff; padding: 9px 18px; border-radius: 100px; }

@media (max-width: 520px) {
  .su-top-login { font-size: 0; }
  .su-top-login a { font-size: 0.85rem; }
  .su-brand span { display: none; }
}
.login-label { text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--ink); margin-bottom: 6px; }
.login-input { background: #fff; border-radius: 12px; }
.login-btn { background: var(--blue); box-shadow: 0 14px 28px -16px rgba(7, 89, 255, 0.7); }
.login-btn:hover:not(:disabled) { background: var(--blue-dark); }
.login-brand { display: none !important; }
