@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --auth-brand-950: #0a3f1d;
  --auth-brand-900: #0d4b27;
  --auth-brand-800: #1a6837;
  --auth-brand-300: #bae0a5;
  --auth-surface: #ffffff;
  --auth-text: rgba(0, 0, 0, 0.8);
  --auth-text-muted: #666666;
  --auth-focus: #176b3a;
  --auth-radius: 1rem;
  --auth-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--auth-text);
  background: var(--auth-brand-950);
}

.auth-page {
  min-height: 100vh;
  min-height: 100svh;
}

.auth-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(26, 104, 55, 0.34), transparent 42%),
    var(--auth-brand-950);
}

.auth-card {
  width: min(100%, 36rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 3rem;
  background: var(--auth-surface);
  border: 1px solid rgba(10, 63, 29, 0.08);
  border-radius: var(--auth-radius);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 1.25rem 3rem rgba(0, 0, 0, 0.18);
  text-align: center;
}

.auth-logo {
  width: min(12rem, 70%);
  height: auto;
  display: block;
}

.auth-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.auth-copy h1,
.auth-copy p,
.auth-help,
.auth-eyebrow {
  margin: 0;
}

.auth-copy h1 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.auth-copy p {
  max-width: 27rem;
  color: var(--auth-text-muted);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.002em;
}

.auth-copy .auth-eyebrow {
  color: var(--auth-brand-800);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  overflow-wrap: anywhere;
}

.auth-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  color: #ffffff;
  background: var(--auth-brand-950);
  border: 1px solid var(--auth-brand-950);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 250ms var(--auth-easing),
    border-color 250ms var(--auth-easing),
    box-shadow 250ms var(--auth-easing),
    transform 250ms var(--auth-easing);
}

.auth-button:hover {
  background: var(--auth-brand-900);
  border-color: var(--auth-brand-900);
  box-shadow: 0 0.5rem 1.25rem rgba(10, 63, 29, 0.18);
  transform: translateY(-2px);
}

.auth-button:focus-visible {
  outline: 2px solid var(--auth-focus);
  outline-offset: 3px;
}

.auth-help {
  max-width: 27rem;
  color: var(--auth-text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .auth-shell {
    padding: 1rem;
  }

  .auth-card {
    gap: 1.5rem;
    padding: 3rem 1.5rem;
  }

  .auth-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-button {
    transition: none;
  }
}
