/* Sign-in page.

   The handoff specifies an email/password form with three cards promising that
   saved work follows you between devices. None of that exists: the app has no
   Firebase, no backend and no sync, and signing in writes {name, email,
   imageUrl} to localStorage and nothing more. The layout below is the
   handoff's; the argument is rewritten to what is true, and the auth control
   hands off to the app so there is only one sign-in implementation. */

.ce-signin-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: linear-gradient(165deg, var(--ce-cream) 0%, #fff 46%, var(--ce-sand) 100%);
}
.ce-signin-page > * { position: relative; z-index: 1; }
.ce-signin-page > .ce-washes { z-index: 0; position: fixed; }

/* --- Top bar ---------------------------------------------------------- */
.ce-signin__top { padding: 22px 0; }
.ce-signin__topinner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* The escape hatch stays visible at every width — the product promise is that
   accounts are optional, so it must never be the thing that gets dropped. */
.ce-skip {
    padding: 8px 15px;
    border-radius: var(--ce-r-md);
    background: #ffffffb3;
    border: 1px solid var(--ce-line-70);
    color: #413C33;
    font-weight: 500;
    font-size: 13.5px;
    transition: background-color .2s var(--ce-ease), color .2s var(--ce-ease);
}
.ce-skip:hover { background: #fff; color: var(--ce-ink); }

/* --- Main ------------------------------------------------------------- */
.ce-signin__main {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 56px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 72px;
}
.ce-h1--signin { font-size: clamp(33px, 3.6vw, 46px); line-height: 1.06; }
.ce-signin__main .ce-lead { max-width: 430px; }

/* --- Benefit cards ---------------------------------------------------- */
.ce-benefits { display: grid; gap: 13px; max-width: 440px; margin-top: 26px; }
.ce-benefit {
    display: flex;
    gap: 13px;
    padding: 14px 16px;
    border-radius: var(--ce-r-xl);
    background: var(--ce-glass-mid);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--ce-line-50);
}
.ce-benefit__icon {
    flex: none;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--c) 10%, transparent);
    color: var(--c);
}
.ce-benefit__t { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ce-ink); }
.ce-benefit__b { font-size: 13.5px; line-height: 1.5; color: var(--ce-body); margin-top: 3px; }

/* --- Auth card -------------------------------------------------------- */
.ce-authwrap { display: flex; justify-content: center; }
.ce-auth {
    width: 100%;
    max-width: 452px;
    border-radius: var(--ce-r-glass);
    background: var(--ce-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--ce-line-70);
    box-shadow: var(--ce-sh-float);
    padding: 30px 30px 26px;
}
.ce-auth__h { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.ce-auth__p { font-size: 14.5px; line-height: 1.6; color: var(--ce-body); margin-top: 10px; }
.ce-auth__p--sm { font-size: 13.5px; }
.ce-auth__go { width: 100%; height: 48px; margin-top: 20px; font-size: 15.5px; }

.ce-auth__div { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; }
.ce-auth__div span { flex: 1; height: 1px; background: var(--ce-line); }
.ce-auth__div em {
    font-family: var(--ce-mono);
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ce-faint);
}

/* A picture of the control found in the app, not a control itself. Rendering
   a real-looking Google button that only navigates would misrepresent what
   the click does. */
.ce-auth__demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    height: 48px;
    margin-top: 12px;
    border-radius: var(--ce-r);
    border: 1px dashed var(--ce-line-soft);
    background: #ffffff8c;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ce-body);
    user-select: none;
}

.ce-auth__fine { font-size: 12.5px; line-height: 1.55; color: var(--ce-muted); margin-top: 14px; }
.ce-auth__legal { font-size: 12.5px; line-height: 1.55; color: var(--ce-muted); text-align: center; margin-top: 20px; }

/* --- Footer ----------------------------------------------------------- */
.ce-signin__foot {
    border-top: 1px solid var(--ce-line-60);
    background: #ffffff80;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 18px 0;
}
.ce-signin__footinner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--ce-muted);
}
.ce-signin__footlinks { display: flex; gap: 20px; flex-wrap: wrap; }
.ce-signin__footlinks a { color: inherit; }
.ce-signin__footlinks a:hover { color: var(--ce-brand-500); }
