:root {
  color: #102238;
  background: #f5f8f5;
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(61, 203, 139, 0.25), transparent 27rem),
    radial-gradient(circle at 88% 92%, rgba(255, 199, 75, 0.35), transparent 25rem),
    #f5f8f5;
}

.welcome-shell {
  width: min(100%, 680px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 24px 48px;
  display: grid;
  align-content: center;
  gap: 32px;
}

.wordmark {
  width: max-content;
  color: #112a43;
  font: 700 27px/1 "Fraunces", Georgia, serif;
  text-decoration: none;
  letter-spacing: -0.06em;
}

.welcome-card {
  padding: clamp(30px, 7vw, 52px);
  border: 1px solid rgba(20, 52, 72, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(17, 42, 67, 0.13);
}

.w-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #22c55e, #087a49);
  box-shadow: 0 10px 24px rgba(8, 122, 73, 0.3);
  font: 700 24px/1 "Sora", sans-serif;
}

.eyebrow {
  margin: 0 0 11px;
  color: #16804e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #102238;
  font: 700 clamp(35px, 7vw, 54px)/0.98 "Fraunces", Georgia, serif;
  letter-spacing: -0.06em;
}

.lede {
  max-width: 460px;
  margin: 20px 0 28px;
  color: #506174;
  font-size: 15px;
  line-height: 1.65;
}

.provider-buttons { display: grid; gap: 10px; }
.sso-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #cdd5dd;
  border-radius: 12px;
  color: #1a2d42;
  background: #fff;
  box-shadow: 0 3px 7px rgba(20, 43, 63, 0.08);
  cursor: pointer;
  font: 600 15px/1 "Sora", sans-serif;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sso-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #fbfcfd;
  box-shadow: 0 8px 18px rgba(20, 43, 63, 0.13);
}

.sso-button:focus-visible { outline: 3px solid #6ce7a3; outline-offset: 3px; }
.sso-button:disabled { cursor: wait; opacity: 0.72; }
.sso-button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.apple-button { background: #111827; color: #fff; border-color: #111827; }
.apple-button:hover:not(:disabled) { background: #030712; }
.facebook-button { background: #1877f2; color: #fff; border-color: #1877f2; }
.facebook-button:hover:not(:disabled) { background: #166fe5; }
.provider-icon { width: 20px; font-size: 22px; line-height: 1; font-weight: 800; }

.status {
  min-height: 20px;
  margin: 15px 0 0;
  color: #52657a;
  font-size: 13px;
  text-align: center;
}

.fine-print {
  margin: 24px 0 0;
  color: #718094;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.fine-print a { color: #276a50; }

@media (max-width: 520px) {
  .welcome-shell { padding: 24px 16px 36px; gap: 24px; }
  .welcome-card { border-radius: 22px; }
}
