/* Free trial as a guest: the name step, the welcome screen, and the "create your account" window. */

/* ---- /trial: step 1 (name) by default, step 2 (full request) with ?full=1 ---- */
#trial-box:not(.full) .trial-step2 { display: none; }
#trial-box.full .trial-step1 { display: none; }
.trial-step1 .input-lg { min-height: 54px; font-size: 18px; }

/* ---- welcome screen ---- */
.gw {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 45%, #2a160c 0%, #120d0a 55%, #0a0a0a 100%); color: #fff;
  animation: gw-out 700ms cubic-bezier(0.65, 0, 0.35, 1) 2900ms forwards;
}
.gw::before, .gw::after {
  content: ""; position: absolute; left: 50%; top: 46%; border-radius: 50%; border: 1px solid rgba(217, 84, 30, 0.22);
  transform: translate(-50%, -50%) scale(0.6); opacity: 0; animation: gw-ring 2.6s ease-out forwards;
}
.gw::before { width: 520px; height: 520px; }
.gw::after { width: 820px; height: 820px; animation-delay: 250ms; border-color: rgba(217, 84, 30, 0.12); }
.gw-inner { position: relative; text-align: center; padding: 0 24px; }
.gw-crown { display: block; width: 64px; margin: 0 auto 22px; opacity: 0; transform: translateY(-14px) scale(0.8);
  filter: drop-shadow(0 0 18px rgba(240, 120, 60, 0.55)); animation: gw-crown 900ms cubic-bezier(0.2, 0.9, 0.25, 1.2) 150ms forwards; }
.gw-hello { margin: 0; color: #f0a07c; font-size: 13px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: 0; animation: gw-rise 700ms ease 450ms forwards; }
.gw-name { margin: 10px 0 0; font-family: var(--font-display, inherit); font-size: clamp(44px, 8vw, 104px); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.035em; }
.gw-name span { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(8px);
  animation: gw-letter 650ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.gw-name em { font-style: normal; color: #ff9561; text-shadow: 0 0 28px rgba(240, 110, 50, 0.45); }
.gw-line { display: block; width: min(320px, 60vw); height: 2px; margin: 26px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #d9541e, transparent); transform: scaleX(0); animation: gw-line 900ms ease 1300ms forwards; }
.gw-sub { margin: 18px 0 0; color: #cfc8bb; font-size: clamp(15px, 1.4vw, 18px); opacity: 0; animation: gw-rise 700ms ease 1550ms forwards; }
@keyframes gw-crown { to { opacity: 1; transform: none; } }
@keyframes gw-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gw-letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes gw-line { to { transform: scaleX(1); } }
@keyframes gw-ring { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } 40% { opacity: 1; } 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } }
@keyframes gw-out { to { opacity: 0; transform: scale(1.04); filter: blur(6px); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .gw, .gw *, .gw::before, .gw::after { animation-duration: 1ms !important; animation-delay: 0ms !important; }
  .gw { animation: gw-out 400ms ease 1600ms forwards !important; }
}

/* ---- "create your account" window ---- */
.gg { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: #fffdf8; color: var(--ink, #111);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: hidden; }
.gg::backdrop { background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(6px); }
.gg[open] { animation: gg-in 320ms cubic-bezier(0.2, 0.9, 0.25, 1) both; }
@keyframes gg-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.gg-head { padding: 26px 28px 20px; background: radial-gradient(80% 120% at 0% 0%, rgba(217, 84, 30, 0.16), transparent 60%), #f7f1e6; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.gg-head .gg-eyebrow { margin: 0; color: var(--orange-ink, #b4441a); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.gg-head h2 { margin: 8px 0 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.gg-body { padding: 20px 28px 26px; }
.gg-body p { margin: 0; color: #5b544a; font-size: 15px; line-height: 1.55; }
.gg-steps { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.gg-steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.gg-steps li b { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(217, 84, 30, 0.12); color: var(--orange-ink, #b4441a); font-size: 12.5px; }
.gg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.gg-actions .btn-primary { flex: 1 1 auto; justify-content: center; }
.gg-foot { margin-top: 14px !important; font-size: 13.5px !important; }

/* guest chip in the sidebar footer */
.guest-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(217, 84, 30, 0.12); color: var(--orange-ink, #b4441a); font-size: 11.5px; font-weight: 700; }
