:root {
  --ink: #17372e;
  --ink-soft: #49675e;
  --paper: #f5f2e9;
  --green: #1f6d4f;
  --green-bright: #a8e063;
  --line: rgba(23, 55, 46, 0.16);
  --white: #fffef9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(168, 224, 99, 0.34), transparent 28rem),
    radial-gradient(circle at 4% 72%, rgba(31, 109, 79, 0.10), transparent 32rem),
    var(--paper);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.auth-card {
  width: 100%;
  max-width: 560px;
  padding: clamp(30px, 7vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 254, 249, 0.86);
  box-shadow: 0 28px 90px rgba(23, 55, 46, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 24px rgba(31, 109, 79, 0.22);
}

.auth-copy {
  margin: clamp(54px, 10vw, 86px) 0 34px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.auth-copy p:last-child {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.google-button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 14px;
  color: var(--white);
  background: var(--green);
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.google-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.google-button:hover {
  background: #185b41;
  box-shadow: 0 10px 28px rgba(31, 109, 79, 0.22);
}

.google-button:active {
  transform: translateY(1px);
}

.auth-note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
