/* CloudTier look for fusion's entrance pages (sign in, sign up, contact, password reset...).
   Loaded by templates/hosts/cloudtier/account/entrance/head.html after fusion's account.css;
   the glow is templates/hosts/cloudtier/account/entrance/backdrop.html. Plain CSS: these pages
   use fusion's Tailwind build, not CloudTier's. */

/* fusion's palette tokens (account.css :root) -> CloudTier's slate-blue surfaces and brand blue */
:root {
  --color-base-50:  248 250 252;
  --color-base-100: 241 245 249;
  --color-base-200: 226 232 240;
  --color-base-300: 203 213 225;
  --color-base-400: 148 163 184;  /* --color-text-muted */
  --color-base-500: 100 116 139;
  --color-base-600: 71 85 105;
  --color-base-700: 51 65 85;
  --color-base-800: 30 37 54;     /* --color-border #1e2536 */
  --color-base-900: 13 17 28;     /* --color-surface-2 #0d111c */
  --color-base-950: 10 13 22;     /* --color-surface #0a0d16 */
  --color-primary-400: 77 141 255;  /* --color-primary-text #4d8dff */
  --color-primary-500: 51 126 255;  /* --color-primary-hover */
  --color-primary-600: 0 92 255;    /* --color-primary #005CFF */
  --color-primary-700: 0 75 204;    /* --color-primary-active */
}

html.dark body.entrance {
  background-color: #040610;        /* --color-bg of the site */
}

/* The one main action: CloudTier's blue button in both themes (fusion: black / white) */
body.entrance .btn-solid {
  background-color: #005cff;
  border-color: #005cff;
  color: #fff;
}
body.entrance .btn-solid:hover {
  background-color: #337eff;
  border-color: #337eff;
}
body.entrance .btn-solid:active {
  background-color: #004bcc;
  border-color: #004bcc;
}
body.entrance .btn-solid:focus-visible {
  --tw-ring-color: rgb(77 141 255 / 0.6);
}

/* The blue "eclipse" of the home page hero, along the bottom of the window */
.ct-eclipse {
  position: fixed;
  left: 50%;
  bottom: -480px;
  width: 200vw;
  height: 600px;
  transform: translateX(-50%);
  border-radius: 100%;
  border-top: 2px solid rgb(0 92 255 / 0.55);
  background: rgb(248 250 252);
  box-shadow: 0 -80px 150px rgb(0 92 255 / 0.14);
  filter: blur(12px);
  pointer-events: none;
}
html.dark .ct-eclipse {
  border-top: 3px solid #005cff;
  background: #040610;
  box-shadow: 0 -80px 150px rgb(0 92 255 / 0.3);
}
@media (min-width: 1024px) {
  .ct-eclipse { width: 150vw; }
}
