:root { font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#42444d; background:#f9f9fb; }
* { box-sizing:border-box; }
body { margin:0; }
.auth-shell { width:min(520px,calc(100% - 40px)); margin:0 auto; padding:32px 0 28px; }
.auth-brand { display:block; margin-bottom:24px; color:#30323b; font-size:25px; font-weight:650; letter-spacing:-1px; text-align:center; text-decoration:none; }
.auth-card { padding:32px; border:1px solid #eaeaee; border-radius:18px; background:#fff; }
.auth-card-header { margin:0 0 24px; }
.auth-card-header h1 { margin:0; overflow-wrap:break-word; }
.auth-card-header .auth-intro { margin:12px 0 0; }
h1 { margin:0 0 12px; font:500 28px/1.2 Georgia,serif; color:#30323b; }
.auth-intro,.auth-help { font-size:14px; line-height:1.65; color:#737781; margin:0 0 22px; overflow-wrap:anywhere; }
a { color:#42444d; text-underline-offset:3px; }
.auth-google,button { display:flex; justify-content:center; align-items:center; gap:10px; min-height:46px; width:100%; border:1px solid #dcdde2; border-radius:9px; padding:10px 14px; font-family:inherit; font-size:14px; font-weight:500; line-height:1.5; text-decoration:none; background:#fff; color:#42444d; }
.auth-google svg { width:19px; height:19px; flex-shrink:0; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:24px 0; color:#81848d; font-size:12px; }
.auth-divider::before,.auth-divider::after { content:""; height:1px; background:#eaeaee; flex:1; }
form { display:flex; flex-direction:column; gap:8px; margin:0; }
label { font-size:13px; margin-top:8px; }
input:not([type=checkbox]):not([type=hidden]) { width:100%; min-width:0; min-height:46px; border:1px solid #dcdde2; border-radius:8px; padding:10px 12px; font:inherit; font-size:16px; background:#fff; color:#30323b; }
input:focus { outline:2px solid #727681; outline-offset:2px; }
input[aria-invalid=true] { border-color:#a94a45; }
small { font-size:12px; color:#737781; line-height:1.5; }
button { cursor:pointer; margin-top:14px; background:#383b45; border-color:#383b45; color:#fff; font-family:inherit; font-size:14px; }
button:hover { background:#242731; }
button:focus-visible,a:focus-visible { outline:2px solid #727681; outline-offset:3px; }
button:disabled { opacity:.65; cursor:wait; }
.auth-secondary { background:#fff; color:#42444d; border-color:#dcdde2; }
.auth-secondary:hover,.auth-google:hover { background:#f7f7f9; }
.auth-options { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:7px 0; font-size:12px; }
.auth-check { display:flex; align-items:center; gap:7px; margin:0; min-height:38px; font-size:12px; }
.auth-check input { width:16px; height:16px; }
.auth-switch { margin:24px 0 0; font-size:13px; text-align:center; line-height:1.6; }
.auth-notice { padding:12px; margin:0 0 20px; background:#f2f4f3; border-radius:8px; font-size:13px; line-height:1.55; overflow-wrap:anywhere; }
.auth-notice p { margin:0; }.auth-notice ul { padding-left:18px; margin:6px 0 0; }
.auth-error { background:#fcf2f1; color:#873f39; }
.auth-footer { text-align:center; font-size:12px; color:#81848d; margin:24px 0 0; }
/* The welcome and auth cards share one locally hosted journal backdrop. */
.landing-body,.auth-body { --mem-auth-radius:28px; --mem-auth-shadow:0 24px 70px #21180c38,0 4px 12px #21180c12; min-height:100vh; min-height:100svh; background:linear-gradient(#30282012,#30282026),url('relaunch/welcome-journal-20261110.jpg') center/cover no-repeat; background-attachment:fixed; }
.landing-body { padding:32px 20px; color:var(--mem-text,#302820); font-family:var(--mem-sans,system-ui,sans-serif); }
.landing-body .landing { width:min(460px,100%); padding:32px; border:1px solid #fffaf3; border-radius:28px; background:var(--mem-white,#fffcf8); box-shadow:var(--mem-auth-shadow); }
.landing .brand-mark { width:64px; height:64px; margin:0 auto 20px; border-radius:20px; }
.landing .brand-mark svg { width:44px; }
.landing .eyebrow { margin:0 0 8px; color:#43594b; font-size:11px; letter-spacing:.12em; }
.landing h1 { margin:0; font:600 var(--mem-title-size,2.75rem)/1.12 var(--mem-serif,Georgia,serif); letter-spacing:-.035em; color:var(--mem-text,#302820); }
.landing .landing-copy { margin:16px 0 24px; font:400 22px/1.4 var(--mem-serif,Georgia,serif); color:var(--mem-muted,#665e57); }
.landing .google-button { min-height:54px; padding:14px 18px; font-size:16px; line-height:1.5; color:var(--mem-text,#302820); }
.landing .privacy-note { margin:14px 0; font-size:13px; line-height:1.6; color:var(--mem-muted,#665e57); }
.landing .privacy-note:last-child { margin:20px 0 0; font-size:12px; }
.landing :is(a,button):focus-visible { outline:3px solid #3576b5; outline-offset:3px; }
@media(max-width:480px) { .auth-shell { padding-top:24px; }.auth-brand { margin-bottom:18px; }.auth-card { padding:24px 20px; }.auth-card-header { margin-bottom:22px; }.landing-body,.auth-body { --mem-auth-radius:24px; background-position:22% center; background-attachment:scroll; }.landing-body { padding:24px 20px; }.landing-body .landing { padding:28px 24px; border-radius:24px; }.landing .landing-copy { font-size:20px; }.landing .google-button { font-size:15px; } }
