/* CaseHub Login Standalone Page (·/casehub/login)
 * Reusa todos os tokens neumorphic da landing (landing.css).
 * Aqui só adicionamos o layout centralizado e a coluna esquerda de marca.
 */

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.login-brand-side {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
  position: relative;
}

.login-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
}

.login-brand-head .nav-brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.login-brand-head .nav-brand-word .c1 { color: var(--c-blue); }
.login-brand-head .nav-brand-word .c2 { color: var(--c-green-d); }

.login-pitch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
}
.login-pitch .badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--c-bone);
  box-shadow: inset var(--shadow-dark-xs), inset var(--shadow-light-xs);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--c-green-d);
  font-weight: 700;
}
.login-pitch h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--c-navy);
  margin: 0;
}
.login-pitch h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-blue);
}
.login-pitch h1 .accent { color: var(--c-green-d); }
.login-pitch .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-graphite);
}

.login-brand-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.login-brand-feats span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--c-graphite);
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--c-bone);
  box-shadow: inset var(--shadow-dark-xs), inset var(--shadow-light-xs);
}

/* Stats row · matches landing hero-stats visual */
.login-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.login-stat .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--c-navy);
  letter-spacing: -0.025em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.login-stat .n .unit {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--c-mute);
  font-weight: 500;
  letter-spacing: 0;
}
.login-stat .l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--c-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Pull-quote — testimonial card with neumorphic inset */
.login-quote {
  margin: 0;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--c-bone);
  box-shadow: inset var(--shadow-dark-xs), inset var(--shadow-light-xs);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-navy);
  max-width: 520px;
  position: relative;
}
.login-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 18px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 44px;
  line-height: 1;
  color: var(--c-green-d);
  opacity: 0.32;
}
.login-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--c-mute);
}

.login-brand-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--c-mute);
}
.login-brand-foot a {
  color: var(--c-blue);
  font-weight: 600;
  text-decoration: none;
}
.login-brand-foot a:hover { text-decoration: underline; }

.login-form-side {
  padding: 64px 56px;
  display: grid;
  place-items: center;
  position: relative;
}

.login-card-standalone {
  width: 100%;
  max-width: 440px;
}

/* Showcase mode (embedded as iframe — hide brand side, center form) */
body[data-showcase="true"] .login-shell {
  grid-template-columns: 1fr;
}
body[data-showcase="true"] .login-brand-side {
  display: none;
}

@media (max-width: 880px) {
  .login-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .login-brand-side {
    padding: 32px 22px 0;
    gap: 18px;
  }
  .login-brand-foot { display: none; }
  .login-form-side {
    padding: 28px 22px 56px;
  }
  .login-stats { gap: 18px; }
  .login-stat .n { font-size: 22px; }
  .login-stat .n .unit { font-size: 11px; }
  .login-quote { font-size: 14.5px; padding: 18px 20px; }
  .login-quote::before { font-size: 36px; }
}
