:root {
  color: #062417;
  background: #eef2ed;
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(153, 242, 33, 0.22), transparent 28rem),
    #eef2ed;
}

a:focus-visible {
  outline: 3px solid #6fc600;
  outline-offset: 4px;
}

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

.public-auth-card {
  display: grid;
  gap: 30px;
  width: min(100%, 560px);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid #dbe3d9;
  border-radius: 0 28px 28px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(6, 36, 23, 0.14);
}

.wordmark {
  align-items: center;
  display: inline-flex;
  height: 56px;
  justify-content: flex-start;
  width: 190px;
  text-decoration: none;
}

.wordmark img {
  display: block;
  max-height: 48px;
  max-width: 184px;
  object-fit: contain;
}

.public-auth-copy {
  display: grid;
  gap: 12px;
}

.public-auth-copy > * {
  margin: 0;
}

.eyebrow {
  color: #5f7d61;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 7vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.public-auth-copy p:last-child {
  max-width: 43ch;
  color: #536259;
  font-size: 1rem;
  line-height: 1.55;
}

.microsoft-button {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  min-height: 54px;
  padding: 12px 20px;
  border: 1px solid #99f221;
  border-radius: 0 14px 14px;
  background: #99f221;
  color: #062417;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.microsoft-button:hover {
  border-color: #6fc600;
  background: #6fc600;
  transform: translateY(-1px);
}

.microsoft-mark {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 8px);
  gap: 2px;
}

.microsoft-mark i {
  width: 8px;
  height: 8px;
  background: #f25022;
}

.microsoft-mark i:nth-child(2) {
  background: #7fba00;
}

.microsoft-mark i:nth-child(3) {
  background: #00a4ef;
}

.microsoft-mark i:nth-child(4) {
  background: #ffb900;
}

.access-note {
  margin: -8px 0 0;
  color: #69736c;
  font-size: 0.82rem;
  line-height: 1.45;
}

.secondary-action {
  color: #17623f;
  font-weight: 700;
}

@media (max-width: 560px) {
  .public-auth-shell {
    align-items: stretch;
    padding: 0;
  }

  .public-auth-card {
    align-content: center;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

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