:root {
  color-scheme: light;
  --page-bg: linear-gradient(180deg, #f6efe3 0%, #f2f7f5 52%, #ffffff 100%);
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(27, 61, 51, 0.12);
  --text-main: #17352d;
  --text-muted: #4c6b62;
  --accent: #742dc5;
  --accent-hover: #aa5720;
  --pill-bg: rgba(23, 53, 45, 0.08);
  --shadow: 0 24px 60px rgba(23, 53, 45, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 520px);
  padding: 40px 32px;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
}

.brand-logo {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5%;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.lead {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
  box-shadow: 0 16px 30px rgba(98, 45, 197, 0.28);
}

.login-button:hover,
.login-button:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .login-card {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .login-button {
    width: 100%;
    min-width: 0;
  }
}
