/* The homepage provides shared layout, theme tokens, fonts and navigation. */
.login-page {
  justify-content: center;
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 8vw, 96px) 0;
}
.login-page .content-wrapper {
  display: grid;
  justify-items: center;
}
.login-card {
  width: min(100%, 480px);
  min-width: 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}
.login-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  background: var(--hero-title-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  scroll-margin-top: 112px;
  text-wrap: balance;
}
.login-brand-name { display: inline-block; white-space: nowrap; }
.login-intro {
  margin: 20px 0 32px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: balance;
}
.login-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.login-google-button:hover {
  border-color: var(--brand-primary);
  background: var(--btn-tertiary-bg);
}
.login-google-button > span { min-width: 0; }
.login-google-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.login-consent {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.login-consent a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-consent a:hover { color: var(--brand-primary); }
@media (max-width: 480px) {
  .login-card { padding: 32px 24px; border-radius: 24px; }
}
