*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f3ed;
  color: #1c1c1a;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

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

.login-card {
  background: #ffffff;
  border: 1px solid #e7e5df;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  padding: 48px 44px 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Brand */
.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: #1c1c1a;
}
.login-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22a05f 0%, #0f5a35 100%);
  box-shadow: 0 2px 4px rgba(15,90,53,.2), 0 6px 14px rgba(15,90,53,.15),
              inset 0 1px 0 rgba(255,255,255,.18);
}
.login-brand-mark svg { display: block; }
.login-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.login-brand-vero { color: #1a7a4a; }

/* Heading */
.login-heading {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1c1c1a;
  margin-bottom: 10px;
  line-height: 1.15;
}
.login-sub {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 300px;
}

/* Google button */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  background: #ffffff;
  color: #1c1c1a;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: inherit;
  border: 1.5px solid #dddbd4;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 20px;
}
.btn-google:hover {
  background: #f8f7f3;
  border-color: #c7c2b4;
  box-shadow: 0 2px 8px rgba(0,0,0,.09);
}
.btn-google:active { transform: translateY(1px); }
.google-icon { flex-shrink: 0; }

/* Terms */
.login-terms {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.5;
}
.login-terms a {
  color: #6b7280;
  text-decoration: underline;
  text-decoration-color: #d1cfc8;
}
.login-terms a:hover { color: #1a7a4a; text-decoration-color: #1a7a4a; }

@media (max-width: 480px) {
  .login-card { padding: 36px 28px 32px; }
  .login-heading { font-size: 1.35rem; }
}
