/* The public entry and account forms share the same social app shell. */
.guest-page { background: #f5f7fb; color: #1c2942; }
.guest-page .auth-header { height: 84px; flex-shrink: 0; padding-inline: max(24px, calc((100% - 1160px) / 2)); background: #fff; border-bottom: 1px solid #e3e8f0; }
.guest-header-actions { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.guest-header-actions > span { color: #5c697d; }
.guest-header-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #245dce; font-weight: 650; }
.guest-header-actions .guest-header-join { padding: 0 18px; background: #edf3ff; border-radius: 10px; }
.guest-home { width: min(1080px, calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); grid-template-areas: 'intro login' 'feed login'; align-content: center; align-items: start; gap: 28px 90px; padding-block: 52px 60px; }
.guest-intro { grid-area: intro; }
.guest-eyebrow { margin: 0 0 14px; color: #4d6584; font-size: 13px; font-weight: 650; }
.guest-intro h1, .guest-auth-intro h1 { margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.1; font-weight: 750; letter-spacing: -.055em; }
.guest-intro h1 span, .guest-auth-intro h1 span { color: #2464dc; }
.guest-lead { margin: 18px 0 0; color: #5c697d; font-size: 17px; line-height: 1.7; }
.guest-intro__signup { margin-top: 22px; }
.guest-intro__signup .guest-register-button { display: inline-flex; max-width: 100%; padding-inline: 22px; background: #5260e8; color: #fff; }
.guest-intro__signup .guest-register-button:hover { background: #414ecc; }
.guest-feed { grid-area: feed; max-width: 480px; }
.guest-page .guest-login-card { grid-area: login; align-self: center; }
.guest-home .guest-features { grid-column: 1 / -1; min-width: 0; padding-top: 18px; }
.guest-home .guest-features > h2 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 28px); line-height: 1.3; letter-spacing: -.5px; }
.guest-home .guest-features__intro { max-width: 740px; margin: 0 0 24px; color: #5c697d; font-size: 15px; line-height: 1.7; }
.guest-home .guest-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guest-home .guest-features__card { min-width: 0; padding: 24px; border: 1px solid #e0e6ef; border-radius: 14px; background: #fff; }
.guest-home .guest-features__card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; }
.guest-home .guest-features__card p { margin: 0 0 16px; color: #5c697d; font-size: 14px; line-height: 1.7; }
.guest-home .guest-features__card a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #245dce; font-size: 14px; font-weight: 650; }
.guest-page .auth-card { min-width: 0; padding: 32px; background: #fff; border: 1px solid #e0e6ef; border-radius: 18px; box-shadow: 0 10px 32px #243b6010; }
.guest-page .auth-card__intro { margin-bottom: 24px; }
.guest-page .auth-card__intro h2 { font-size: 27px; letter-spacing: -.8px; }
.guest-page .auth-card__intro p { color: #5c697d; font-size: 14px; line-height: 1.6; }
.guest-page .auth-form { gap: 9px; }
.guest-page .auth-form > label:not(.auth-check), .guest-page .auth-grid label { color: #344158; font-size: 13px; }
.guest-page .auth-input { height: 50px; border-radius: 9px; border-color: #ccd6e3; background: #fff; }
.guest-page .auth-input input, .guest-page .auth-input select { font-size: 16px; color: #263650; }
.guest-page .auth-input input::placeholder { color: #778398; }
.guest-page .auth-input:has([aria-invalid]) { border-color: #b93838; }
.guest-page .auth-input:focus-within { border-color: #2464dc; box-shadow: 0 0 0 3px #2464dc22; }
.guest-page .auth-input .password-toggle { flex: 0 0 auto; min-height: 44px; padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: #414ecc; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.guest-page .auth-input .password-toggle[hidden] { display: none; }
.guest-page .auth-input .password-toggle:focus-visible { outline: 2px solid #5260e8; outline-offset: -2px; }
.guest-login-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 10px; margin-block: 2px 8px; }
.guest-login-options > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: #245dce; }
.guest-page .auth-check { font-size: 13px; color: #526178; align-items: center; line-height: 1.6; }
.guest-page .auth-check input:focus-visible + span { outline: 3px solid #2464dc; outline-offset: 3px; }
.guest-page .auth-check--terms { align-items: flex-start; }
.guest-page .auth-check--terms > span { margin-top: 4px; }
.guest-page .auth-submit { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 10px; background: #2464dc; box-shadow: none; font-size: 15px; }
.guest-page .auth-submit:hover { background: #1a50b8; transform: none; box-shadow: none; }
.guest-page .auth-submit:disabled { opacity: .7; cursor: wait; }
.guest-signup { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e6eaf0; text-align: center; }
.guest-signup p { margin: 0 0 12px; color: #5c697d; font-size: 13px; }
.guest-register-button { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px; border-radius: 10px; background: #168150; color: #fff; font-size: 15px; font-weight: 650; }
.guest-register-button:hover { background: #10683f; }
.guest-sample-preview { overflow: hidden; border: 1px solid #e0e6ef; border-radius: 15px; background: #fff; box-shadow: 0 5px 20px #243b6008; }
.guest-sample-preview__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #edf0f5; font-size: 13px; }
.guest-sample-preview__heading > span { padding: 4px 8px; border-radius: 5px; color: #5c697d; background: #f1f4f8; font-size: 11px; }
.guest-sample-person { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; }
.guest-sample-avatar { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eae4fb; color: #7051a0; font-size: 15px; font-weight: 650; }
.guest-sample-person > div { display: grid; gap: 3px; font-size: 13px; }
.guest-sample-person small, .guest-sample-post__time { color: #6b778a; font-size: 11px; }
.guest-sample-post__time { margin-left: auto; }
.guest-sample-post > p { margin: 13px 18px; font-size: 14px; line-height: 1.5; }
.guest-sample-post__photo { display: block; width: 100%; height: 175px; object-fit: cover; object-position: center 55%; background: #e8eef4; }
.guest-sample-post__reactions { display: flex; gap: 26px; margin-inline: 18px; padding-block: 12px; border-bottom: 1px solid #edf0f5; color: #53637b; font-size: 12px; }
.guest-sample-post__reactions > span { display: flex; align-items: center; gap: 6px; }
.guest-sample-post__reactions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.guest-sample-post__reactions > span > span { font-size: 20px; line-height: 1; }
.guest-sample-reply { display: flex; align-items: center; gap: 9px; padding: 12px 18px; }
.guest-sample-avatar--small { width: 28px; height: 28px; background: #e0f1e8; color: #246644; font-size: 11px; }
.guest-sample-reply p { margin: 0; padding: 8px 12px; border-radius: 0 12px 12px; background: #f2f5fa; font-size: 12px; line-height: 1.5; }
.guest-sample-reply strong { margin-right: 4px; }
.guest-sample-preview__note { margin: 0; padding: 0 18px 13px; color: #6b778a; font-size: 11px; line-height: 1.5; }
.guest-page .auth-main { min-height: 0; padding: 48px 32px 56px; }
.guest-page .auth-layout { width: min(1080px, 100%); max-width: none; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); align-items: center; gap: 80px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.guest-auth-intro .guest-sample-preview { margin-top: 26px; max-width: 430px; }
.guest-auth-intro h1 { font-size: 44px; }
.guest-page .auth-back { position: static; align-self: flex-start; min-height: 34px; margin-bottom: 16px; font-size: 12px; color: #53637b; }
.guest-page .auth-step { margin-bottom: 12px; font-size: 11px; color: #245dce; }
.guest-page .auth-card__bottom { font-size: 13px; line-height: 1.6; color: #5c697d; }
.guest-page .auth-hint { margin: 4px 0; color: #5c697d; font-size: 12px; line-height: 1.6; }
.guest-registration-email { overflow-wrap: anywhere; margin: 0 0 12px !important; }
.guest-feedback { margin-bottom: 18px; padding: 12px 14px; border-radius: 9px; background: #edf5ff; color: #284a7c; font-size: 13px; line-height: 1.6; }
.guest-feedback--error { background: #fff1f0; color: #9c2c29; }
.guest-feedback ul { margin: 6px 0 0; padding-left: 18px; }
.guest-field-error { margin: 0 0 6px; color: #a92e2b; font-size: 12px; line-height: 1.5; }
.guest-page .auth-confirm-card { width: min(480px, 100%); padding: 30px; }
.guest-page .auth-confirm-card > .auth-back { display: flex; margin-bottom: 12px; }
.guest-page .site-footer { padding-inline: max(24px, calc((100% - 1160px) / 2)); background: #fff; border-top: 1px solid #e3e8f0; box-shadow: none; }
.guest-page a:focus-visible, .guest-page button:focus-visible, .guest-page summary:focus-visible { outline: 3px solid #2464dc; outline-offset: 4px; }
@media (max-width: 1000px) {
    .guest-home { gap: 24px 40px; }
    .guest-page .auth-layout { gap: 40px; }
    .guest-header-actions { gap: 16px; }
    .guest-page .landing-logo__tagline { display: none; }
}
@media (max-width: 760px) {
    .guest-home .guest-features__grid { grid-template-columns: minmax(0, 1fr); }
    .guest-page .auth-header { height: 72px; padding-inline: 20px; }
    .guest-header-actions { gap: 14px; font-size: 13px; }
    .guest-header-actions > span { display: none; }
    .guest-header-actions .guest-header-join { padding-inline: 12px; }
    .guest-home { width: min(480px, calc(100% - 36px)); grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'login' 'feed'; gap: 26px; padding-block: 28px 36px; }
    .guest-intro { text-align: center; }
    .guest-intro h1 { font-size: 39px; }
    .guest-eyebrow { margin-bottom: 10px; font-size: 12px; }
    .guest-lead { font-size: 15px; line-height: 1.6; margin-top: 12px; }
    .guest-page .auth-main { padding: 28px 18px 36px; }
    .guest-page .auth-layout { max-width: 480px; grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .guest-auth-intro { text-align: center; }
    .guest-auth-intro h1 { font-size: 34px; }
    .guest-auth-intro .guest-sample-preview { display: none; }
    .guest-page .auth-card { padding: 26px 24px; }
    .guest-page .auth-card__intro h2 { font-size: 25px; }
    .guest-page .site-footer { padding-inline: 20px; }
}
@media (max-width: 380px) {
    .guest-page .auth-header { padding-inline: 14px; }
    .guest-header-actions { gap: 10px; font-size: 12px; }
    .guest-header-actions .guest-header-join { padding-inline: 10px; }
    .guest-page .auth-card { padding: 24px 18px; }
    .guest-intro h1 { font-size: 34px; }
    .guest-page .auth-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .guest-page *, .guest-page *::before, .guest-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
.guest-page .auth-check .auth-terms-copy { display: block; width: auto; height: auto; flex: 1; margin: 0; border: 0; border-radius: 0; background: none; }
