:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #f4f1fa;
  background: #0b0910;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(126, 82, 222, 0.2), transparent 48%),
    linear-gradient(150deg, #100d18, #09080c 72%);
}

button,
a {
  font: inherit;
}

.account-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #b99aff, #7045c7);
  box-shadow: 0 0 26px rgba(154, 113, 236, 0.33);
  color: #100c18;
  font-weight: 800;
}

.account-card {
  width: min(100%, 440px);
  margin: auto 0;
  padding: 42px;
  border: 1px solid rgba(205, 187, 236, 0.15);
  border-radius: 22px;
  background: rgba(21, 17, 29, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

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

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.intro {
  margin: 15px 0 26px;
  color: #bbb4c8;
  font-size: 14px;
  line-height: 1.65;
}

.google-button,
.secondary-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: #f5f3f8;
  color: #221d29;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition:
    transform 140ms ease,
    opacity 140ms ease,
    box-shadow 140ms ease;
}

.google-button:hover:not(:disabled),
.secondary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.google-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.google-mark {
  font-size: 18px;
  font-weight: 800;
  background: conic-gradient(
    from -45deg,
    #4285f4 0 25%,
    #34a853 25% 48%,
    #fbbc05 48% 71%,
    #ea4335 71%
  );
  background-clip: text;
  color: transparent;
}

.turnstile-container {
  min-height: 66px;
  margin: 0 0 14px;
}
.fine-print {
  margin: 17px 0 0;
  color: #9991a8;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(182, 156, 241, 0.25);
  border-radius: 9px;
  color: #d8ccf4;
  font-size: 13px;
  line-height: 1.5;
}
.notice-error {
  border-color: rgba(244, 121, 121, 0.32);
  color: #ffb6b6;
}
.signed-in-label {
  margin: 0 0 5px;
  color: #aaa2b8;
  font-size: 12px;
}
.account-email {
  margin: 0 0 22px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 600;
}
.secondary-button {
  margin-bottom: 15px;
  background: #9e80e7;
  color: #120d1b;
}
.text-button,
.back-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  border: 0;
  background: transparent;
  color: #aaa2b8;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.back-link {
  margin-top: 28px;
  color: #b69cf1;
  font-size: 13px;
  text-decoration: none;
}
.site-note {
  margin: 0;
  color: #81798f;
  font-size: 11px;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .account-shell {
    padding-top: 25px;
  }
  .account-card {
    padding: 31px 24px;
  }
}

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