/* 企业邮箱登录页 · 独立样式 */
:root {
  --mail-brand: #1a5c9e;
  --mail-brand-dark: #0b2d4d;
  --mail-brand-deep: #082340;
  --mail-line: #e2e8f0;
  --mail-muted: #64748b;
  --mail-text: #0f172a;
}

body {
  margin: 0;
  background: #f4f7fb;
  color: var(--mail-text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.mail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--mail-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.mail-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  min-height: 4.5rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.mail-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mail-text);
  text-decoration: none;
}

.mail-brand img {
  width: auto;
  height: 2rem;
}

.mail-brand span {
  font-size: 1rem;
  font-weight: 700;
}

.mail-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mail-nav a {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mail-nav a:hover {
  color: var(--mail-brand);
}

.mail-main {
  min-height: calc(100vh - 4.5rem - 4rem);
}

.mail-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 4.5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.18), transparent 45%),
    linear-gradient(140deg, var(--mail-brand-deep), var(--mail-brand-dark) 55%, #14497a);
}

.mail-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}

.mail-eyebrow {
  margin: 0 0 1rem;
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mail-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mail-lead {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  color: rgba(219, 234, 254, 0.9);
  font-size: 0.9375rem;
  line-height: 1.95;
}

.mail-points {
  display: grid;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.mail-points li {
  display: flex;
  gap: 0.5rem;
  color: #dbeafe;
  font-size: 0.8125rem;
  word-break: break-all;
}

.mail-points span {
  flex: 0 0 auto;
  width: 4.5rem;
  color: #93c5fd;
  font-weight: 600;
}

.mail-card {
  padding: 2rem 1.75rem;
  border-radius: 1.1rem;
  background: #ffffff;
  box-shadow: 0 34px 70px -32px rgba(2, 12, 27, 0.85);
}

.mail-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  background: #e8f2fc;
  color: var(--mail-brand);
}

.mail-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.mail-card h2 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.mail-card__desc {
  margin: 0.5rem 0 1.35rem;
  color: var(--mail-muted);
  font-size: 0.8125rem;
  line-height: 1.75;
}

.mail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mail-btn--primary {
  background: var(--mail-brand);
  color: #ffffff;
}

.mail-btn--primary:hover {
  background: #14507f;
}

.mail-btn:focus-visible {
  outline: 2px solid var(--mail-brand);
  outline-offset: 2px;
}

.mail-steps {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--mail-muted);
  font-size: 0.75rem;
  line-height: 2;
}

.mail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem;
  color: #64748b;
  font-size: 0.75rem;
}

.mail-footer p {
  margin: 0;
}

.mail-footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mail-footer a:hover {
  color: var(--mail-brand);
}

@media (max-width: 880px) {
  .mail-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mail-hero {
    padding: 2.5rem 1.25rem 3rem;
  }

  .mail-card {
    padding: 1.6rem 1.35rem;
  }
}

@media (max-width: 540px) {
  .mail-brand span {
    display: none;
  }

  .mail-nav {
    gap: 1rem;
  }

  .mail-footer {
    justify-content: center;
    text-align: center;
  }
}
